Changeset 6604 for trunk/sources/HeuristicLab.Algorithms.DataAnalysis
- Timestamp:
- 07/27/11 16:30:49 (13 years ago)
- Location:
- trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/Linear/MultinomialLogitModel.cs
r6576 r6604 22 22 using System; 23 23 using System.Collections.Generic; 24 using System.IO;25 24 using System.Linq; 26 using System.Text;27 25 using HeuristicLab.Common; 28 26 using HeuristicLab.Core; 29 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 30 28 using HeuristicLab.Problems.DataAnalysis; 31 using SVM;32 29 33 30 namespace HeuristicLab.Algorithms.DataAnalysis { … … 111 108 } 112 109 110 public MultinomialLogitClassificationSolution CreateClassificationSolution(IClassificationProblemData problemData) { 111 return new MultinomialLogitClassificationSolution(problemData, this); 112 } 113 IClassificationSolution IClassificationModel.CreateClassificationSolution(IClassificationProblemData problemData) { 114 return CreateClassificationSolution(problemData); 115 } 116 113 117 #region events 114 118 public event EventHandler Changed; -
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/NearestNeighbour/NearestNeighbourModel.cs
r6603 r6604 183 183 return CreateRegressionSolution(problemData); 184 184 } 185 public INearestNeighbourClassificationSolution CreateClassificationSolution(IClassificationProblemData problemData) { 186 return new NearestNeighbourClassificationSolution(problemData, this); 187 } 188 IClassificationSolution IClassificationModel.CreateClassificationSolution(IClassificationProblemData problemData) { 189 return CreateClassificationSolution(problemData); 190 } 185 191 186 192 #region events -
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/NeuralNetwork/NeuralNetworkEnsembleModel.cs
r6603 r6604 150 150 return CreateRegressionSolution(problemData); 151 151 } 152 public INeuralNetworkEnsembleClassificationSolution CreateClassificationSolution(IClassificationProblemData problemData) { 153 return new NeuralNetworkEnsembleClassificationSolution(problemData, this); 154 } 155 IClassificationSolution IClassificationModel.CreateClassificationSolution(IClassificationProblemData problemData) { 156 return CreateClassificationSolution(problemData); 157 } 152 158 153 159 #region events -
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/NeuralNetwork/NeuralNetworkModel.cs
r6603 r6604 143 143 return CreateRegressionSolution(problemData); 144 144 } 145 public INeuralNetworkClassificationSolution CreateClassificationSolution(IClassificationProblemData problemData) { 146 return new NeuralNetworkClassificationSolution(problemData, this); 147 } 148 IClassificationSolution IClassificationModel.CreateClassificationSolution(IClassificationProblemData problemData) { 149 return CreateClassificationSolution(problemData); 150 } 145 151 146 152 #region events -
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/RandomForest/RandomForestModel.cs
r6603 r6604 137 137 return CreateRegressionSolution(problemData); 138 138 } 139 public IRandomForestClassificationSolution CreateClassificationSolution(IClassificationProblemData problemData) { 140 return new RandomForestClassificationSolution(problemData, this); 141 } 142 IClassificationSolution IClassificationModel.CreateClassificationSolution(IClassificationProblemData problemData) { 143 return CreateClassificationSolution(problemData); 144 } 139 145 140 146 #region events -
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/SupportVectorMachine/SupportVectorMachineModel.cs
r6603 r6604 154 154 } 155 155 } 156 157 public SupportVectorClassificationSolution CreateClassificationSolution(IClassificationProblemData problemData) { 158 return new SupportVectorClassificationSolution(this, problemData); 159 } 160 IClassificationSolution IClassificationModel.CreateClassificationSolution(IClassificationProblemData problemData) { 161 return CreateClassificationSolution(problemData); 162 } 156 163 #endregion 157 164 // cache for predictions, which is cloned but not persisted, must be cleared when the model is changed
Note: See TracChangeset
for help on using the changeset viewer.