Changeset 10533
- Timestamp:
- 03/05/14 13:10:36 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Views/DataGridContentView.cs
r10380 r10533 80 80 81 81 private void ReplaceWithAverage_Click(object sender, EventArgs e) { 82 var asdf = new List<int>() { lastClickedRow };83 82 Content.PreprocessingDataManipulation.ReplaceIndicesByAverageValue(lastClickedColumn, new List<int>() { lastClickedRow }); 83 OnContentChanged(); 84 84 } 85 85 86 86 private void ReplaceWithMedian_Click(object sender, EventArgs e) { 87 87 Content.PreprocessingDataManipulation.ReplaceIndicesByMedianValue(lastClickedColumn, new List<int>() { lastClickedRow }); 88 OnContentChanged(); 88 89 } 89 90 90 91 private void ReplaceWithRandom_Click(object sender, EventArgs e) { 91 92 Content.PreprocessingDataManipulation.ReplaceIndicesByRandomValue(lastClickedColumn, new List<int>() { lastClickedRow }); 93 OnContentChanged(); 92 94 } 93 95 94 96 private void ReplaceWithMostCommon_Click(object sender, EventArgs e) { 95 97 Content.PreprocessingDataManipulation.ReplaceIndicesByMostCommonValue(lastClickedColumn, new List<int>() { lastClickedRow }); 98 OnContentChanged(); 96 99 } 97 100 98 101 private void ReplaceWithInterpolation_Click(object sender, EventArgs e) { 99 102 Content.PreprocessingDataManipulation.ReplaceIndicesByLinearInterpolationOfNeighbours(lastClickedColumn, new List<int>() { lastClickedRow }); 103 OnContentChanged(); 100 104 } 101 105 }
Note: See TracChangeset
for help on using the changeset viewer.