Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/25/11 16:57:08 (13 years ago)
Author:
mkommend
Message:

#1600: Corrected typo in ensemble solutions (paritions => partitions).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/RegressionEnsembleSolution.cs

    r6588 r6590  
    6464      trainingPartitions = new Dictionary<IRegressionModel, IntRange>();
    6565      testPartitions = new Dictionary<IRegressionModel, IntRange>();
    66       AddModelsAndParitions(models,
     66      AddModelsAndPartitions(models,
    6767        from m in models select (IntRange)problemData.TrainingPartition.Clone(),
    6868        from m in models select (IntRange)problemData.TestPartition.Clone());
     
    7474      this.trainingPartitions = new Dictionary<IRegressionModel, IntRange>();
    7575      this.testPartitions = new Dictionary<IRegressionModel, IntRange>();
    76       AddModelsAndParitions(models, trainingPartitions, testPartitions);
     76      AddModelsAndPartitions(models, trainingPartitions, testPartitions);
    7777      RecalculateResults();
    7878    }
     
    180180    }
    181181
    182     private void AddModelsAndParitions(IEnumerable<IRegressionModel> models, IEnumerable<IntRange> trainingPartitions, IEnumerable<IntRange> testPartitions) {
     182    private void AddModelsAndPartitions(IEnumerable<IRegressionModel> models, IEnumerable<IntRange> trainingPartitions, IEnumerable<IntRange> testPartitions) {
    183183      var modelEnumerator = models.GetEnumerator();
    184184      var trainingPartitionEnumerator = trainingPartitions.GetEnumerator();
Note: See TracChangeset for help on using the changeset viewer.