public ISample Accept(CrossValidatedSample sample)
 {
     return(new CrossValidatedSample(sample.GetIdentifier(), sample.IsImposter(), GetScaledDimensions(sample), sample.GetOrder(), sample.GetCrossValidation(), sample.GetDuration().HasValue));
 }
 public ISample Accept(CrossValidatedSample sample)
 {
     if (recalculateDuration)
     {
         return(new CrossValidatedSample(sample.GetIdentifier(), sample.IsImposter(), subsetRows, sample.GetOrder(), sample.GetCrossValidation(), sample.GetDuration().HasValue));
     }
     else
     {
         return(new CrossValidatedSample(sample.GetIdentifier(), sample.IsImposter(), subsetRows, sample.GetOrder(), sample.GetCrossValidation(), sample.GetDuration()));
     }
 }