- Timestamp:
- 07/02/12 13:05:42 (12 years ago)
- Location:
- branches/ClassificationEnsembleVoting/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Classification
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ClassificationEnsembleVoting/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Classification/ClassificationEnsembleSolution.cs
r8101 r8177 145 145 146 146 RegisterClassificationSolutionsEventHandler(); 147 weightCalculator = new MajorityVoteWeightCalculator(); 147 148 classificationSolutions.AddRange(solutions); 148 weightCalculator = new MajorityVoteWeightCalculator();149 149 } 150 150 -
branches/ClassificationEnsembleVoting/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Classification/WeightCalculators/AverageThresholdClassificationCalculator.cs
r8101 r8177 29 29 namespace HeuristicLab.Problems.DataAnalysis { 30 30 [StorableClass] 31 [Item("AverageThresholdC alculator", "")]31 [Item("AverageThresholdClassificationCalculator", "")] 32 32 public class AverageThresholdClassificationCalculator : AverageThresholdCalculator { 33 33 -
branches/ClassificationEnsembleVoting/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Classification/WeightCalculators/DiscriminantClassificationWeightCalculator.cs
r8101 r8177 54 54 public override IEnumerable<double> AggregateEstimatedClassValues(IEnumerable<IClassificationSolution> solutions, Dataset dataset, IEnumerable<int> rows, CheckPoint handler) { 55 55 if (!solutions.All(x => x is IDiscriminantFunctionClassificationSolution)) 56 return Enumerable.Repeat<double>( 0.0, rows.Count());56 return Enumerable.Repeat<double>(double.NaN, rows.Count()); 57 57 58 58 IEnumerable<IDiscriminantFunctionClassificationSolution> discriminantSolutions = solutions.Cast<IDiscriminantFunctionClassificationSolution>();
Note: See TracChangeset
for help on using the changeset viewer.