Changeset 8811 for branches/ClassificationEnsembleVoting/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Classification/DiscriminantFunctionClassificationSolution.cs
- Timestamp:
- 10/16/12 09:44:07 (12 years ago)
- Location:
- branches/ClassificationEnsembleVoting/HeuristicLab.Problems.DataAnalysis
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ClassificationEnsembleVoting/HeuristicLab.Problems.DataAnalysis
- Property svn:mergeinfo changed
-
branches/ClassificationEnsembleVoting/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Classification/DiscriminantFunctionClassificationSolution.cs
r8534 r8811 32 32 [StorableClass] 33 33 [Item("DiscriminantFunctionClassificationSolution", "Represents a classification solution that uses a discriminant function and classification thresholds.")] 34 public abstractclass DiscriminantFunctionClassificationSolution : DiscriminantFunctionClassificationSolutionBase {34 public class DiscriminantFunctionClassificationSolution : DiscriminantFunctionClassificationSolutionBase { 35 35 protected readonly Dictionary<int, double> valueEvaluationCache; 36 36 protected readonly Dictionary<int, double> classValueEvaluationCache; … … 47 47 classValueEvaluationCache = new Dictionary<int, double>(original.classValueEvaluationCache); 48 48 } 49 p rotectedDiscriminantFunctionClassificationSolution(IDiscriminantFunctionClassificationModel model, IClassificationProblemData problemData)49 public DiscriminantFunctionClassificationSolution(IDiscriminantFunctionClassificationModel model, IClassificationProblemData problemData) 50 50 : base(model, problemData) { 51 51 valueEvaluationCache = new Dictionary<int, double>(); 52 52 classValueEvaluationCache = new Dictionary<int, double>(); 53 CalculateRegressionResults(); 54 CalculateClassificationResults(); 55 } 56 57 public override IDeepCloneable Clone(Cloner cloner) { 58 return new DiscriminantFunctionClassificationSolution(this, cloner); 53 59 } 54 60
Note: See TracChangeset
for help on using the changeset viewer.