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).

Location:
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.4/Implementation
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Classification/ClassificationEnsembleSolution.cs

    r6589 r6590  
    7979      this.trainingPartitions = new Dictionary<IClassificationModel, IntRange>();
    8080      this.testPartitions = new Dictionary<IClassificationModel, IntRange>();
    81       AddModelsAndParitions(models,
     81      AddModelsAndPartitions(models,
    8282        trainingPartitions,
    8383        testPartitions);
     
    191191    }
    192192
    193     private void AddModelsAndParitions(IEnumerable<IClassificationModel> models, IEnumerable<IntRange> trainingPartitions, IEnumerable<IntRange> testPartitions) {
     193    private void AddModelsAndPartitions(IEnumerable<IClassificationModel> models, IEnumerable<IntRange> trainingPartitions, IEnumerable<IntRange> testPartitions) {
    194194      var modelEnumerator = models.GetEnumerator();
    195195      var trainingPartitionEnumerator = trainingPartitions.GetEnumerator();
  • 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.