Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/21/12 16:44:20 (13 years ago)
Author:
sforsten
Message:

#1776:

  • improvements in the usage of the WeightCalculators
  • small changes in all class which inherit from the WeightCalculator class
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ClassificationEnsembleVoting/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Classification/ClassificationEnsembleSolution.cs

    r7464 r7504  
    6868        if (value != null) {
    6969          weightCalculator = value;
    70           weights = weights = weightCalculator.CalculateWeights(classificationSolutions);
     70          weights = weights = weightCalculator.CalculateNormalizedWeights(classificationSolutions);
    7171          if (!ProblemData.IsEmpty)
    7272            RecalculateResults();
     
    316316      trainingPartitions[solution.Model] = solution.ProblemData.TrainingPartition;
    317317      testPartitions[solution.Model] = solution.ProblemData.TestPartition;
    318       weights = weightCalculator.CalculateWeights(classificationSolutions);
     318      weights = weightCalculator.CalculateNormalizedWeights(classificationSolutions);
    319319    }
    320320
     
    324324      trainingPartitions.Remove(solution.Model);
    325325      testPartitions.Remove(solution.Model);
    326       weights = weightCalculator.CalculateWeights(classificationSolutions);
     326      weights = weightCalculator.CalculateNormalizedWeights(classificationSolutions);
    327327    }
    328328  }
Note: See TracChangeset for help on using the changeset viewer.