Ignore:
Timestamp:
09/22/10 11:22:49 (9 years ago)
Author:
mkommend
Message:

Preparation for cross validation - removed the test samples from the trainining samples and added ValidationPercentage parameter (ticket #1199).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Regression/3.3/Symbolic/SymbolicRegressionModel.cs

    r4415 r4468  
    6868
    6969    public IEnumerable<double> GetEstimatedValues(DataAnalysisProblemData problemData, int start, int end) {
    70       return interpreter.GetSymbolicExpressionTreeValues(tree, problemData.Dataset, Enumerable.Range(start, end - start));
     70      return GetEstimatedValues(problemData, Enumerable.Range(start, end - start));
     71    }
     72    public IEnumerable<double> GetEstimatedValues(DataAnalysisProblemData problemData, IEnumerable<int> rows) {
     73      return interpreter.GetSymbolicExpressionTreeValues(tree, problemData.Dataset, rows);
    7174    }
    7275
Note: See TracChangeset for help on using the changeset viewer.