- Timestamp:
- 07/25/11 16:57:08 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/RegressionEnsembleSolution.cs
r6588 r6590 64 64 trainingPartitions = new Dictionary<IRegressionModel, IntRange>(); 65 65 testPartitions = new Dictionary<IRegressionModel, IntRange>(); 66 AddModelsAndPar itions(models,66 AddModelsAndPartitions(models, 67 67 from m in models select (IntRange)problemData.TrainingPartition.Clone(), 68 68 from m in models select (IntRange)problemData.TestPartition.Clone()); … … 74 74 this.trainingPartitions = new Dictionary<IRegressionModel, IntRange>(); 75 75 this.testPartitions = new Dictionary<IRegressionModel, IntRange>(); 76 AddModelsAndPar itions(models, trainingPartitions, testPartitions);76 AddModelsAndPartitions(models, trainingPartitions, testPartitions); 77 77 RecalculateResults(); 78 78 } … … 180 180 } 181 181 182 private void AddModelsAndPar itions(IEnumerable<IRegressionModel> models, IEnumerable<IntRange> trainingPartitions, IEnumerable<IntRange> testPartitions) {182 private void AddModelsAndPartitions(IEnumerable<IRegressionModel> models, IEnumerable<IntRange> trainingPartitions, IEnumerable<IntRange> testPartitions) { 183 183 var modelEnumerator = models.GetEnumerator(); 184 184 var trainingPartitionEnumerator = trainingPartitions.GetEnumerator();
Note: See TracChangeset
for help on using the changeset viewer.