Changeset 6603 for trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4
- Timestamp:
- 07/27/11 15:31:51 (13 years ago)
- Location:
- trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/NearestNeighbour/NearestNeighbourModel.cs
r6584 r6603 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 { … … 180 177 } 181 178 179 public INearestNeighbourRegressionSolution CreateRegressionSolution(IRegressionProblemData problemData) { 180 return new NearestNeighbourRegressionSolution(problemData, this); 181 } 182 IRegressionSolution IRegressionModel.CreateRegressionSolution(IRegressionProblemData problemData) { 183 return CreateRegressionSolution(problemData); 184 } 185 182 186 #region events 183 187 public event EventHandler Changed; -
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/NeuralNetwork/NeuralNetworkEnsembleModel.cs
r6580 r6603 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 { … … 147 144 } 148 145 146 public INeuralNetworkEnsembleRegressionSolution CreateRegressionSolution(IRegressionProblemData problemData) { 147 return new NeuralNetworkEnsembleRegressionSolution(problemData, this); 148 } 149 IRegressionSolution IRegressionModel.CreateRegressionSolution(IRegressionProblemData problemData) { 150 return CreateRegressionSolution(problemData); 151 } 152 149 153 #region events 150 154 public event EventHandler Changed; -
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/NeuralNetwork/NeuralNetworkModel.cs
r6577 r6603 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 { … … 140 137 } 141 138 139 public INeuralNetworkRegressionSolution CreateRegressionSolution(IRegressionProblemData problemData) { 140 return new NeuralNetworkRegressionSolution(problemData, this); 141 } 142 IRegressionSolution IRegressionModel.CreateRegressionSolution(IRegressionProblemData problemData) { 143 return CreateRegressionSolution(problemData); 144 } 145 142 146 #region events 143 147 public event EventHandler Changed; -
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/RandomForest/RandomForestModel.cs
r6241 r6603 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 { … … 134 131 } 135 132 133 public IRandomForestRegressionSolution CreateRegressionSolution(IRegressionProblemData problemData) { 134 return new RandomForestRegressionSolution(problemData, this); 135 } 136 IRegressionSolution IRegressionModel.CreateRegressionSolution(IRegressionProblemData problemData) { 137 return CreateRegressionSolution(problemData); 138 } 139 136 140 #region events 137 141 public event EventHandler Changed; -
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/SupportVectorMachine/SupportVectorMachineModel.cs
r6566 r6603 126 126 return GetEstimatedValuesHelper(dataset, rows); 127 127 } 128 #endregion 128 public SupportVectorRegressionSolution CreateRegressionSolution(IRegressionProblemData problemData) { 129 return new SupportVectorRegressionSolution(this, problemData); 130 } 131 IRegressionSolution IRegressionModel.CreateRegressionSolution(IRegressionProblemData problemData) { 132 return CreateRegressionSolution(problemData); 133 } 134 #endregion 135 129 136 #region IClassificationModel Members 130 137 public IEnumerable<double> GetEstimatedClassValues(Dataset dataset, IEnumerable<int> rows) {
Note: See TracChangeset
for help on using the changeset viewer.