Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/11/13 17:21:25 (10 years ago)
Author:
pfleck
Message:
  • Cloned Algorithm and swapped Dataset an other members of the DataAnalysisProblemData
  • Refactored GetMostOuterContent
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/PreprocessingData.cs

    r10220 r10221  
    142142    }
    143143
     144    public IntRange TrainingPartition {
     145      get { return new IntRange(0, (int)(Rows * trainingToTestRatio)); }
     146    }
     147
     148    public IntRange TestPartition {
     149      get { return new IntRange((int)(Rows * trainingToTestRatio), Math.Max(Rows - 1, 0)); }
     150    }
     151
    144152    public IEnumerable<string> VariableNames {
    145153      get { return variableNames; }
     
    155163
    156164    public int Rows {
    157       get { return variableValues.Count; }
     165      get { return variableValues[variableNames[0]].Count; }
    158166    }
    159167    public IDictionary<string, IEnumerable<int>> GetMissingValueIndices() {
Note: See TracChangeset for help on using the changeset viewer.