Changeset 3919 for trunk/sources
- Timestamp:
- 06/14/10 16:15:02 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/DataAnalysisSolution.cs
r3916 r3919 164 164 165 165 #region IStringConvertibleMatrix implementation 166 private List<string> rowNames = new List<string>() { "MeanSquaredError", "CoefficientOfDetermination" };166 private List<string> rowNames = new List<string>() { "MeanSquaredError", "CoefficientOfDetermination", "MeanAbsolutePercentageError" }; 167 167 private List<string> columnNames = new List<string>() { "Training", "Test" }; 168 private double[,] resultValues = new double[ 2, 2];168 private double[,] resultValues = new double[3, 2]; 169 169 int IStringConvertibleMatrix.Rows { get { return rowNames.Count; } set { } } 170 170 int IStringConvertibleMatrix.Columns { get { return columnNames.Count; } set { } } … … 190 190 resultValues[1, 0] = SimpleRSquaredEvaluator.Calculate(originalTrainingValues, EstimatedTrainingValues); 191 191 resultValues[1, 1] = SimpleRSquaredEvaluator.Calculate(originalTestValues, EstimatedTestValues); 192 resultValues[2, 0] = SimpleMeanAbsolutePercentageErrorEvaluator.Calculate(originalTrainingValues, EstimatedTrainingValues); 193 resultValues[2, 1] = SimpleMeanAbsolutePercentageErrorEvaluator.Calculate(originalTestValues, EstimatedTestValues); 194 192 195 this.OnReset(); 193 196 }
Note: See TracChangeset
for help on using the changeset viewer.