Changeset 15431 for branches/DataPreprocessing Cleanup/HeuristicLab.DataPreprocessing/3.4/Data/IPreprocessingData.cs
- Timestamp:
- 10/25/17 12:38:12 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing Cleanup/HeuristicLab.DataPreprocessing/3.4/Data/IPreprocessingData.cs
r15309 r15431 28 28 namespace HeuristicLab.DataPreprocessing { 29 29 public interface IPreprocessingData : INamedItem { 30 31 IList<PreprocessingDataColumn> DataColumns { get; }32 33 30 #region Cells 34 31 bool IsCellEmpty(int columnIndex, int rowIndex); … … 39 36 string GetCellAsString(int columnIndex, int rowIndex); 40 37 41 I Enumerable<T> GetValues<T>(int columnIndex, bool considerSelection = false);38 IList<T> GetValues<T>(int columnIndex, bool considerSelection = false); 42 39 43 void SetValues<T>(int columnIndex, I Enumerable<T> values);40 void SetValues<T>(int columnIndex, IList<T> values); 44 41 bool SetValue(string value, int columnIndex, int rowIndex); 45 42 … … 51 48 void InsertRow(int rowIndex); 52 49 void DeleteRow(int rowIndex); 53 void DeleteRows (IEnumerable<int> rows);50 void DeleteRowsWithIndices(IEnumerable<int> rows); 54 51 void InsertColumn<T>(string variableName, int columnIndex); 55 52 … … 109 106 void EndTransaction(); 110 107 #endregion 108 109 #region Statistics 110 T GetMin<T>(int columnIndex, bool considerSelection = false, T emptyValue = default(T)); 111 T GetMax<T>(int columnIndex, bool considerSelection = false, T emptyValue = default(T)); 112 T GetMean<T>(int columnIndex, bool considerSelection = false, T emptyValue = default(T)); 113 T GetMedian<T>(int columnIndex, bool considerSelection = false, T emptyValue = default(T)) where T : IComparable<T>; 114 T GetMode<T>(int columnIndex, bool considerSelection = false, T emptyValue = default(T)) where T : IEquatable<T>; 115 T GetStandardDeviation<T>(int columnIndex, bool considerSelection = false, T emptyValue = default(T)); 116 T GetVariance<T>(int columnIndex, bool considerSelection = false, T emptyValue = default(T)); 117 T GetQuantile<T>(double alpha, int columnIndex, bool considerSelection = false, T emptyValue = default(T)) where T : IComparable<T>; 118 int GetDistinctValues<T>(int columnIndex, bool considerSelection = false); 119 120 int GetMissingValueCount(); 121 int GetMissingValueCount(int columnIndex); 122 int GetRowMissingValueCount(int rowIndex); 123 #endregion 111 124 } 112 125 }
Note: See TracChangeset
for help on using the changeset viewer.