Changeset 6649 for trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/NeuralNetwork/NeuralNetworkEnsembleClassification.cs
- Timestamp:
- 08/09/11 18:58:09 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/NeuralNetwork/NeuralNetworkEnsembleClassification.cs
r6580 r6649 198 198 avgRelError = alglib.mlpeavgrelerror(mlpEnsemble, inputMatrix, nRows); 199 199 relClassError = alglib.mlperelclserror(mlpEnsemble, inputMatrix, nRows); 200 201 return new NeuralNetworkEnsembleClassificationSolution(problemData , new NeuralNetworkEnsembleModel(mlpEnsemble, targetVariable, allowedInputVariables, problemData.ClassValues.ToArray()));200 var problemDataClone = (IClassificationProblemData)problemData.Clone(); 201 return new NeuralNetworkEnsembleClassificationSolution(problemDataClone, new NeuralNetworkEnsembleModel(mlpEnsemble, targetVariable, allowedInputVariables, problemDataClone.ClassValues.ToArray())); 202 202 } 203 203 #endregion
Note: See TracChangeset
for help on using the changeset viewer.