Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/11/12 12:27:49 (12 years ago)
Author:
mkommend
Message:

#1942: Renamed field of DataAnalysisImportType.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Classification/CSV/ClassifiactionCSVInstanceProvider.cs

    r8885 r9021  
    9191
    9292    protected override IClassificationProblemData ImportData(string path, ClassificationImportType type, TableFileParser csvFileParser) {
    93       int trainingPartEnd = (csvFileParser.Rows * type.Training) / 100;
     93      int trainingPartEnd = (csvFileParser.Rows * type.TrainingPercentage) / 100;
    9494      List<IList> values = csvFileParser.Values;
    9595      if (type.Shuffle) {
     
    9797        if (type.UniformlyDistributeClasses) {
    9898          values = Shuffle(values, csvFileParser.VariableNames.ToList().FindIndex(x => x.Equals(type.TargetVariable)),
    99                            type.Training, out trainingPartEnd);
     99                           type.TrainingPercentage, out trainingPartEnd);
    100100        }
    101101      }
Note: See TracChangeset for help on using the changeset viewer.