Changeset 6740 for trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/NeuralNetwork/NeuralNetworkClassification.cs
- Timestamp:
- 09/12/11 13:48:31 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/NeuralNetwork/NeuralNetworkClassification.cs
r6720 r6740 192 192 int nRows = inputMatrix.GetLength(0); 193 193 int nFeatures = inputMatrix.GetLength(1) - 1; 194 double[] classValues = dataset.Get VariableValues(targetVariable).Distinct().OrderBy(x => x).ToArray();194 double[] classValues = dataset.GetDoubleValues(targetVariable).Distinct().OrderBy(x => x).ToArray(); 195 195 int nClasses = classValues.Count(); 196 196 // map original class values to values [0..nClasses-1]
Note: See TracChangeset
for help on using the changeset viewer.