- Timestamp:
- 09/15/09 14:01:47 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.LinearRegression/3.2/LinearClassification.cs
r2353 r2356 38 38 39 39 namespace HeuristicLab.LinearRegression { 40 public class LinearClassification : LinearRegression {40 public class LinearClassification : LinearRegression, IClassificationAlgorithm { 41 41 42 42 public override string Name { get { return "LinearClassification"; } } … … 46 46 } 47 47 48 protected override IOperator CreateModelAnalyser() { 49 return DefaultClassificationAlgorithmOperators.CreatePostProcessingOperator(); 48 protected override IOperator CreateProblemInjector() { 49 return DefaultClassificationOperators.CreateProblemInjector(); 50 } 51 52 protected override IOperator CreateModelAnalyzerOperator() { 53 return DefaultClassificationOperators.CreatePostProcessingOperator(); 50 54 } 51 55 52 56 protected internal virtual IAnalyzerModel CreateLRModel(IScope bestModelScope) { 53 IAnalyzerModel model = base.CreateLRModel(bestModelScope);54 DefaultClassification AlgorithmOperators.SetModelData(model, bestModelScope);57 var model = new AnalyzerModel(); 58 DefaultClassificationOperators.PopulateAnalyzerModel(bestModelScope, model); 55 59 return model; 56 60 }
Note: See TracChangeset
for help on using the changeset viewer.