Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/19/11 02:22:45 (13 years ago)
Author:
mkommend
Message:

#1418:

  • Worked on IntRange and DoubleRange
  • Updated evaluators, analyzers, problems and problem data to use IntRanges
  • Removed properties to access the value of LookupParameter
  • Corrected files.txt
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataAnalysis Refactoring/HeuristicLab.Algorithms.DataAnalysis/3.4/CrossValidation.cs

    r5659 r5759  
    271271            clonedAlgorithm.Name = algorithm.Name + " Fold " + i;
    272272            IDataAnalysisProblem problem = clonedAlgorithm.Problem as IDataAnalysisProblem;
    273             problem.ProblemData.TestPartitionEnd.Value = (i + 1) == Folds.Value ? SamplesEnd.Value : (i + 1) * testSamplesCount + SamplesStart.Value;
    274             problem.ProblemData.TestPartitionStart.Value = (i * testSamplesCount) + SamplesStart.Value;
     273            problem.ProblemData.TestPartition.End = (i + 1) == Folds.Value ? SamplesEnd.Value : (i + 1) * testSamplesCount + SamplesStart.Value;
     274            problem.ProblemData.TestPartition.Start = (i * testSamplesCount) + SamplesStart.Value;
    275275            clonedAlgorithms.Add(clonedAlgorithm);
    276276          }
     
    408408    }
    409409    private void SamplesStart_ValueChanged(object sender, EventArgs e) {
    410       if (Problem != null) Problem.ProblemData.TrainingPartitionStart.Value = SamplesStart.Value;
     410      if (Problem != null) Problem.ProblemData.TrainingPartition.Start = SamplesStart.Value;
    411411    }
    412412    private void SamplesEnd_ValueChanged(object sender, EventArgs e) {
    413       if (Problem != null) Problem.ProblemData.TrainingPartitionEnd.Value = SamplesEnd.Value;
     413      if (Problem != null) Problem.ProblemData.TrainingPartition.End = SamplesEnd.Value;
    414414    }
    415415
Note: See TracChangeset for help on using the changeset viewer.