- Timestamp:
- 04/18/13 16:06:51 (12 years ago)
- Location:
- branches/StatisticalTesting/HeuristicLab.Analysis.Statistics/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/StatisticalTesting/HeuristicLab.Analysis.Statistics/3.3/ResultCorrelationView.cs
r9353 r9380 35 35 public ResultCorrelationView() { 36 36 InitializeComponent(); 37 stringConvertibleMatrixView.Minimum = -1.0; 38 stringConvertibleMatrixView.Maximum = 1.0; 37 39 } 38 40 … … 153 155 var runs = Content.Where(x => x.Results.ContainsKey(resultName) && x.Visible); 154 156 155 StringMatrix dt = new StringMatrix(rowNames.Count(), columnNames.Count());157 DoubleMatrix dt = new DoubleMatrix(rowNames.Count(), columnNames.Count()); 156 158 dt.RowNames = rowNames; 157 159 dt.ColumnNames = columnNames; … … 168 170 || resultRowVals.Contains(double.NegativeInfinity) 169 171 || resultRowVals.Contains(double.PositiveInfinity)) { 170 dt[j, 0] = "X";171 dt[j++, 1] = "X";172 dt[j, 0] = double.NaN; 173 dt[j++, 1] = double.NaN; 172 174 } else { 173 dt[j, 0] = alglib.pearsoncorr2(resultVals.ToArray(), resultRowVals.ToArray()) .ToString();174 dt[j++, 1] = alglib.spearmancorr2(resultVals.ToArray(), resultRowVals.ToArray()) .ToString();175 dt[j, 0] = alglib.pearsoncorr2(resultVals.ToArray(), resultRowVals.ToArray()); 176 dt[j++, 1] = alglib.spearmancorr2(resultVals.ToArray(), resultRowVals.ToArray()); 175 177 } 176 178 } -
branches/StatisticalTesting/HeuristicLab.Analysis.Statistics/3.3/ResultCorrelationView.designer.cs
r9353 r9380 45 45 /// </summary> 46 46 private void InitializeComponent() { 47 this.stringConvertibleMatrixView = new HeuristicLab.Data.Views. StringConvertibleMatrixView();47 this.stringConvertibleMatrixView = new HeuristicLab.Data.Views.EnhancedStringConvertibleMatrixView(); 48 48 this.label1 = new System.Windows.Forms.Label(); 49 49 this.resultComboBox = new System.Windows.Forms.ComboBox(); … … 111 111 #endregion 112 112 113 private HeuristicLab.Data.Views. StringConvertibleMatrixView stringConvertibleMatrixView;113 private HeuristicLab.Data.Views.EnhancedStringConvertibleMatrixView stringConvertibleMatrixView; 114 114 private System.Windows.Forms.Label label1; 115 115 private System.Windows.Forms.ComboBox resultComboBox;
Note: See TracChangeset
for help on using the changeset viewer.