Changeset 11068
- Timestamp:
- 07/01/14 15:49:31 (10 years ago)
- Location:
- branches/DataPreprocessing
- Files:
-
- 1 added
- 37 edited
- 10 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab 3.3.sln
r11009 r11068 1 1 2 2 Microsoft Visual Studio Solution File, Format Version 12.00 3 # Visual Studio 2013 4 VisualStudioVersion = 12.0.30501.0 5 MinimumVisualStudioVersion = 10.0.40219.1 3 # Visual Studio 2012 6 4 Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{96396439-A764-4022-A8D2-BE021449B8D1}" 7 5 ProjectSection(SolutionItems) = preProject … … 402 400 EndProject 403 401 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.DataPreprocessing.Views-3.4", "HeuristicLab.DataPreprocessing.Views\3.4\HeuristicLab.DataPreprocessing.Views-3.4.csproj", "{3FC7515E-D8A0-41FE-8CFA-50E3ADA61A1E}" 404 EndProject405 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.Problems.DataAnalysis.Transformations-3.4", "HeuristicLab.Problems.DataAnalysis.Transformations\3.4\HeuristicLab.Problems.DataAnalysis.Transformations-3.4.csproj", "{2E257A94-D1AF-435C-99B4-5AC00EADFD6A}"406 402 EndProject 407 403 Global … … 1959 1955 {3FC7515E-D8A0-41FE-8CFA-50E3ADA61A1E}.Release|x64.ActiveCfg = Release|Any CPU 1960 1956 {3FC7515E-D8A0-41FE-8CFA-50E3ADA61A1E}.Release|x86.ActiveCfg = Release|Any CPU 1961 {2E257A94-D1AF-435C-99B4-5AC00EADFD6A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU1962 {2E257A94-D1AF-435C-99B4-5AC00EADFD6A}.Debug|Any CPU.Build.0 = Debug|Any CPU1963 {2E257A94-D1AF-435C-99B4-5AC00EADFD6A}.Debug|x64.ActiveCfg = Debug|Any CPU1964 {2E257A94-D1AF-435C-99B4-5AC00EADFD6A}.Debug|x86.ActiveCfg = Debug|Any CPU1965 {2E257A94-D1AF-435C-99B4-5AC00EADFD6A}.Release|Any CPU.ActiveCfg = Release|Any CPU1966 {2E257A94-D1AF-435C-99B4-5AC00EADFD6A}.Release|Any CPU.Build.0 = Release|Any CPU1967 {2E257A94-D1AF-435C-99B4-5AC00EADFD6A}.Release|x64.ActiveCfg = Release|Any CPU1968 {2E257A94-D1AF-435C-99B4-5AC00EADFD6A}.Release|x86.ActiveCfg = Release|Any CPU1969 1957 EndGlobalSection 1970 1958 GlobalSection(SolutionProperties) = preSolution -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.4/CheckedTransformationListView.cs
r10998 r11068 28 28 using HeuristicLab.MainForm; 29 29 using HeuristicLab.PluginInfrastructure; 30 using HeuristicLab.Problems.DataAnalysis .Transformations;30 using HeuristicLab.Problems.DataAnalysis; 31 31 32 32 namespace HeuristicLab.DataPreprocessing.Views { … … 62 62 } 63 63 return null; 64 } 64 } 65 65 66 66 private bool CanInstanciateTransformation(Type type) { -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.4/HeuristicLab.DataPreprocessing.Views-3.4.csproj
r11000 r11068 280 280 <Private>False</Private> 281 281 </ProjectReference> 282 <ProjectReference Include="..\..\HeuristicLab.Problems.DataAnalysis.Transformations\3.4\HeuristicLab.Problems.DataAnalysis.Transformations-3.4.csproj">283 <Project>{2e257a94-d1af-435c-99b4-5ac00eadfd6a}</Project>284 <Name>HeuristicLab.Problems.DataAnalysis.Transformations-3.4</Name>285 <Private>False</Private>286 </ProjectReference>287 282 <ProjectReference Include="..\..\HeuristicLab.Problems.DataAnalysis.Views\3.4\HeuristicLab.Problems.DataAnalysis.Views-3.4.csproj"> 288 283 <Project>{3E9E8944-44FF-40BB-A622-3A4A7DD0F198}</Project> -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.4/Plugin.cs.frame
r10925 r11068 33 33 [PluginDependency("HeuristicLab.MainForm", "3.3")] 34 34 [PluginDependency("HeuristicLab.MainForm.WindowsForms", "3.3")] 35 [PluginDependency("HeuristicLab.Problems.DataAnalysis.Views","3.4")] 36 [PluginDependency("HeuristicLab.Problems.DataAnalysis.Transformations", "3.4")] 35 [PluginDependency("HeuristicLab.Problems.DataAnalysis.Views","3.4")] 37 36 public class HeuristicLabDataPreprocessingViewPlugin : PluginBase { 38 37 } -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.4/PreprocessingCheckedItemListView.Designer.cs
r10701 r11068 1 namespace HeuristicLab.DataPreprocessing.Views { 1 #region License Information 2 3 /* HeuristicLab 4 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 5 * 6 * This file is part of HeuristicLab. 7 * 8 * HeuristicLab is free software: you can redistribute it and/or modify 9 * it under the terms of the GNU General Public License as published by 10 * the Free Software Foundation, either version 3 of the License, or 11 * (at your option) any later version. 12 * 13 * HeuristicLab is distributed in the hope that it will be useful, 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 * GNU General Public License for more details. 17 * 18 * You should have received a copy of the GNU General Public License 19 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>. 20 */ 21 22 #endregion 23 24 namespace HeuristicLab.DataPreprocessing.Views { 2 25 partial class PreprocessingCheckedItemListView { 3 26 /// <summary> -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.4/PreprocessingCheckedItemListView.cs
r10701 r11068 1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using System.Drawing; 5 using System.Data; 6 using System.Linq; 7 using System.Text; 1 #region License Information 2 3 /* HeuristicLab 4 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 5 * 6 * This file is part of HeuristicLab. 7 * 8 * HeuristicLab is free software: you can redistribute it and/or modify 9 * it under the terms of the GNU General Public License as published by 10 * the Free Software Foundation, either version 3 of the License, or 11 * (at your option) any later version. 12 * 13 * HeuristicLab is distributed in the hope that it will be useful, 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 * GNU General Public License for more details. 17 * 18 * You should have received a copy of the GNU General Public License 19 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>. 20 */ 21 22 #endregion 23 8 24 using System.Windows.Forms; 25 using HeuristicLab.Core; 9 26 using HeuristicLab.Core.Views; 10 27 using HeuristicLab.Data; 11 28 using HeuristicLab.MainForm; 12 using HeuristicLab.Core;13 29 14 30 namespace HeuristicLab.DataPreprocessing.Views { … … 36 52 37 53 } 38 39 protected override void OnContentChanged() {40 base.OnContentChanged();41 }42 54 } 43 55 -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.4/TransformationView.Designer.cs
r10977 r11068 19 19 */ 20 20 #endregion 21 22 using HeuristicLab.Problems.DataAnalysis.Transformations;23 21 24 22 namespace HeuristicLab.DataPreprocessing.Views { … … 88 86 // transformationListView 89 87 // 90 this.transformationListView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 91 | System.Windows.Forms.AnchorStyles.Left) 88 this.transformationListView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 89 | System.Windows.Forms.AnchorStyles.Left) 92 90 | System.Windows.Forms.AnchorStyles.Right))); 93 91 this.transformationListView.Caption = "Transformations"; -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.4/TransformationView.cs
r10998 r11068 25 25 using HeuristicLab.MainForm; 26 26 using HeuristicLab.MainForm.WindowsForms; 27 using HeuristicLab.Problems.DataAnalysis .Transformations;27 using HeuristicLab.Problems.DataAnalysis; 28 28 29 29 namespace HeuristicLab.DataPreprocessing.Views { … … 33 33 public partial class TransformationView : AsynchronousContentView { 34 34 35 public new TransformationContent Content 36 { 35 public new TransformationContent Content { 37 36 get { return (TransformationContent)base.Content; } 38 37 set { base.Content = value; } -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.4/HeuristicLab.DataPreprocessing-3.4.csproj
r11002 r11068 179 179 <Private>False</Private> 180 180 </ProjectReference> 181 <ProjectReference Include="..\..\HeuristicLab.Problems.DataAnalysis.Transformations\3.4\HeuristicLab.Problems.DataAnalysis.Transformations-3.4.csproj">182 <Project>{2e257a94-d1af-435c-99b4-5ac00eadfd6a}</Project>183 <Name>HeuristicLab.Problems.DataAnalysis.Transformations-3.4</Name>184 <Private>False</Private>185 </ProjectReference>186 181 <ProjectReference Include="..\..\HeuristicLab.Problems.DataAnalysis\3.4\HeuristicLab.Problems.DataAnalysis-3.4.csproj"> 187 182 <Project>{df87c13e-a889-46ff-8153-66dcaa8c5674}</Project> -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.4/Implementations/FilteredPreprocessingData.cs
r11003 r11068 6 6 using HeuristicLab.DataPreprocessing.Interfaces; 7 7 using HeuristicLab.Problems.DataAnalysis; 8 using HeuristicLab.Problems.DataAnalysis.Transformations;9 8 10 9 namespace HeuristicLab.DataPreprocessing.Implementations { -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.4/Implementations/PreprocessingData.cs
r11002 r11068 23 23 using System.Collections; 24 24 using System.Collections.Generic; 25 using System.Globalization;26 25 using System.Linq; 27 26 using HeuristicLab.Common; … … 29 28 using HeuristicLab.Data; 30 29 using HeuristicLab.Problems.DataAnalysis; 31 using HeuristicLab.Problems.DataAnalysis.Transformations;32 30 33 31 namespace HeuristicLab.DataPreprocessing { … … 116 114 TrainingPartition = new IntRange(problemData.TrainingPartition.Start, problemData.TrainingPartition.End); 117 115 TestPartition = new IntRange(problemData.TestPartition.Start, problemData.TestPartition.End); 118 116 119 117 RegisterEventHandler(); 120 118 } -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.4/Implementations/TransactionalPreprocessingData.cs
r11002 r11068 29 29 using HeuristicLab.Data; 30 30 using HeuristicLab.Problems.DataAnalysis; 31 using HeuristicLab.Problems.DataAnalysis.Transformations;32 31 33 32 namespace HeuristicLab.DataPreprocessing { … … 62 61 private TransactionalPreprocessingData(TransactionalPreprocessingData original, Cloner cloner) 63 62 : base(original, cloner) { 64 63 } 65 64 66 65 private void SaveSnapshot(DataPreprocessingChangedEventType changedType, int column, int row) { … … 94 93 #region Overridden IPreprocessingData Members 95 94 96 public override T GetCell<T>(int columnIndex, int rowIndex) 97 { 95 public override T GetCell<T>(int columnIndex, int rowIndex) { 98 96 return (T)variableValues[columnIndex][rowIndex]; 99 97 } … … 106 104 } 107 105 108 public override string GetCellAsString(int columnIndex, int rowIndex) 109 { 106 public override string GetCellAsString(int columnIndex, int rowIndex) { 110 107 return variableValues[columnIndex][rowIndex].ToString(); 111 108 } 112 109 113 public override string GetVariableName(int columnIndex) 114 { 110 public override string GetVariableName(int columnIndex) { 115 111 return variableNames[columnIndex]; 116 112 } 117 113 118 public override int GetColumnIndex(string variableName) 119 { 114 public override int GetColumnIndex(string variableName) { 120 115 return variableNames.IndexOf(variableName); 121 116 } 122 117 123 public override bool IsType<T>(int columnIndex) 124 { 118 public override bool IsType<T>(int columnIndex) { 125 119 return variableValues[columnIndex] is List<T>; 126 120 } 127 121 128 122 [Obsolete("use the index based variant, is faster")] 129 public override IList<T> GetValues<T>(string variableName, bool considerSelection) 130 { 123 public override IList<T> GetValues<T>(string variableName, bool considerSelection) { 131 124 return GetValues<T>(GetColumnIndex(variableName), considerSelection); 132 125 } 133 126 134 public override IList<T> GetValues<T>(int columnIndex, bool considerSelection) 135 { 136 if (considerSelection) 137 { 127 public override IList<T> GetValues<T>(int columnIndex, bool considerSelection) { 128 if (considerSelection) { 138 129 var list = new List<T>(); 139 foreach (var rowIdx in selection[columnIndex]) 140 { 130 foreach (var rowIdx in selection[columnIndex]) { 141 131 list.Add((T)variableValues[columnIndex][rowIdx]); 142 132 } 143 133 return list; 144 } 145 else 146 { 134 } else { 147 135 return (IList<T>)variableValues[columnIndex]; 148 136 } … … 151 139 public override void SetValues<T>(int columnIndex, IList<T> values) { 152 140 SaveSnapshot(DataPreprocessingChangedEventType.ChangeColumn, columnIndex, -1); 153 if (IsType<T>(columnIndex)) 154 { 141 if (IsType<T>(columnIndex)) { 155 142 variableValues[columnIndex] = (IList)values; 156 } 157 else 158 { 143 } else { 159 144 throw new ArgumentException("The datatype of column " + columnIndex + " must be of type " + variableValues[columnIndex].GetType().Name + " but was " + typeof(T).Name); 160 145 } … … 185 170 return valid; 186 171 } 187 188 public override bool Validate(string value, out string errorMessage, int columnIndex) {189 if (columnIndex < 0 || columnIndex > VariableNames.Count()) {172 173 public override bool Validate(string value, out string errorMessage, int columnIndex) { 174 if (columnIndex < 0 || columnIndex > VariableNames.Count()) { 190 175 throw new ArgumentOutOfRangeException("column index is out of range"); 191 176 } … … 234 219 public override void InsertRow(int rowIndex) { 235 220 SaveSnapshot(DataPreprocessingChangedEventType.DeleteRow, -1, rowIndex); 236 foreach (IList column in variableValues) 237 { 221 foreach (IList column in variableValues) { 238 222 Type type = column.GetType().GetGenericArguments()[0]; 239 223 column.Insert(rowIndex, type.IsValueType ? Activator.CreateInstance(type) : null); … … 245 229 public override void DeleteRow(int rowIndex) { 246 230 SaveSnapshot(DataPreprocessingChangedEventType.AddRow, -1, rowIndex); 247 foreach (IList column in variableValues) 248 { 231 foreach (IList column in variableValues) { 249 232 column.RemoveAt(rowIndex); 250 233 } … … 269 252 } 270 253 271 public override Dataset ExportToDataset() 272 { 254 public override Dataset ExportToDataset() { 273 255 IList<IList> values = new List<IList>(); 274 256 275 for (int i = 0; i < Columns; ++i) 276 { 257 for (int i = 0; i < Columns; ++i) { 277 258 values.Add(variableValues[i]); 278 259 } … … 282 263 } 283 264 284 public override void ClearSelection() 285 { 265 public override void ClearSelection() { 286 266 Selection = new Dictionary<int, IList<int>>(); 287 267 } … … 289 269 public override event EventHandler SelectionChanged; 290 270 291 protected override void OnSelectionChanged() 292 { 271 protected override void OnSelectionChanged() { 293 272 var listeners = SelectionChanged; 294 273 if (listeners != null) listeners(this, EventArgs.Empty); -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.4/Implementations/TransformationContent.cs
r11001 r11068 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using HeuristicLab.Problems.DataAnalysis .Transformations;25 using HeuristicLab.Problems.DataAnalysis; 26 26 27 27 namespace HeuristicLab.DataPreprocessing { … … 36 36 public static new Image StaticItemImage { 37 37 get { return HeuristicLab.Common.Resources.VSImageLibrary.Method; } 38 } 38 } 39 39 40 40 public TransformationContent(IPreprocessingData data, IFilterLogic filterLogic) { -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.4/Interfaces/IPreprocessingData.cs
r11002 r11068 25 25 using HeuristicLab.Data; 26 26 using HeuristicLab.Problems.DataAnalysis; 27 using HeuristicLab.Problems.DataAnalysis.Transformations;28 27 29 28 namespace HeuristicLab.DataPreprocessing { … … 52 51 bool AreAllStringColumns(IEnumerable<int> columnIndices); 53 52 bool Validate(string value, out string errorMessage, int columnIndex); 54 55 53 54 IntRange TrainingPartition { get; } 56 55 IntRange TestPartition { get; } 57 56 -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.4/Plugin.cs.frame
r10925 r11068 44 44 [PluginDependency("HeuristicLab.Problems.DataAnalysis.Symbolic", "3.4")] 45 45 [PluginDependency("HeuristicLab.Parameters","3.3")] 46 [PluginDependency("HeuristicLab.Persistence","3.3")] 47 [PluginDependency("HeuristicLab.Problems.DataAnalysis.Transformations", "3.4")] 46 [PluginDependency("HeuristicLab.Persistence","3.3")] 48 47 public class HeuristicLabDataPreprocessingPlugin : PluginBase { 49 48 } -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.4/PreprocessingTransformator.cs
r10980 r11068 25 25 using System.Text; 26 26 using HeuristicLab.Data; 27 using HeuristicLab.Problems.DataAnalysis .Transformations;27 using HeuristicLab.Problems.DataAnalysis; 28 28 29 29 namespace HeuristicLab.DataPreprocessing { … … 64 64 renamedColumns.Clear(); 65 65 } 66 } finally { 66 } 67 finally { 67 68 preprocessingData.EndTransaction(); 68 69 } … … 71 72 } 72 73 73 private void PreserveColumns(I List<Transformation<double>> transformations) {74 private void PreserveColumns(IEnumerable<Transformation<double>> transformations) { 74 75 foreach (var transformation in transformations) { 75 76 if (!originalColumns.ContainsKey(transformation.Column)) { … … 81 82 } 82 83 83 private void ApplyDoubleTranformationsInplace(I List<Transformation<double>> transformations, bool preserveColumns, out bool success, out string errorMsg) {84 private void ApplyDoubleTranformationsInplace(IEnumerable<Transformation<double>> transformations, bool preserveColumns, out bool success, out string errorMsg) { 84 85 errorMsg = string.Empty; 85 86 success = true; -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.4/ProblemDataCreator.cs
r10990 r11068 24 24 using HeuristicLab.Common; 25 25 using HeuristicLab.Problems.DataAnalysis; 26 using HeuristicLab.Problems.DataAnalysis.Transformations;27 26 28 27 namespace HeuristicLab.DataPreprocessing { -
branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression.Views/3.4/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression.Views-3.4.csproj
r11009 r11068 110 110 </ItemGroup> 111 111 <ItemGroup> 112 <Compile Include="InteractiveSymbolicRegressionSolutionSimplifierView.cs" /> 112 <Compile Include="InteractiveSymbolicRegressionSolutionSimplifierView.cs"> 113 <SubType>UserControl</SubType> 114 </Compile> 113 115 <Compile Include="InteractiveSymbolicRegressionSolutionSimplifierView.Designer.cs"> 114 116 <DependentUpon>InteractiveSymbolicRegressionSolutionSimplifierView.cs</DependentUpon> … … 244 246 <Name>HeuristicLab.Problems.DataAnalysis.Symbolic-3.4</Name> 245 247 <Private>False</Private> 246 </ProjectReference>247 <ProjectReference Include="..\..\HeuristicLab.Problems.DataAnalysis.Transformations\3.4\HeuristicLab.Problems.DataAnalysis.Transformations-3.4.csproj">248 <Project>{2e257a94-d1af-435c-99b4-5ac00eadfd6a}</Project>249 <Name>HeuristicLab.Problems.DataAnalysis.Transformations-3.4</Name>250 248 </ProjectReference> 251 249 <ProjectReference Include="..\..\HeuristicLab.Problems.DataAnalysis.Views\3.4\HeuristicLab.Problems.DataAnalysis.Views-3.4.csproj"> -
branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression.Views/3.4/Plugin.cs.frame
r11009 r11068 39 39 [PluginDependency("HeuristicLab.MainForm.WindowsForms", "3.3")] 40 40 [PluginDependency("HeuristicLab.Optimization","3.3")] 41 [PluginDependency("HeuristicLab.Problems.DataAnalysis", "3.4")] 42 [PluginDependency("HeuristicLab.Problems.DataAnalysis.Transformations", "3.4")] 41 [PluginDependency("HeuristicLab.Problems.DataAnalysis", "3.4")] 43 42 [PluginDependency("HeuristicLab.Problems.DataAnalysis.Symbolic", "3.4")] 44 43 [PluginDependency("HeuristicLab.Problems.DataAnalysis.Symbolic.Regression", "3.4")] -
branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/HeuristicLab.Problems.DataAnalysis.Symbolic-3.4.csproj
r11009 r11068 328 328 <Private>False</Private> 329 329 </ProjectReference> 330 <ProjectReference Include="..\..\HeuristicLab.Problems.DataAnalysis.Transformations\3.4\HeuristicLab.Problems.DataAnalysis.Transformations-3.4.csproj">331 <Project>{2e257a94-d1af-435c-99b4-5ac00eadfd6a}</Project>332 <Name>HeuristicLab.Problems.DataAnalysis.Transformations-3.4</Name>333 <Private>False</Private>334 </ProjectReference>335 330 <ProjectReference Include="..\..\HeuristicLab.Problems.DataAnalysis\3.4\HeuristicLab.Problems.DataAnalysis-3.4.csproj"> 336 331 <Project>{DF87C13E-A889-46FF-8153-66DCAA8C5674}</Project> -
branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Plugin.cs.frame
r10925 r11068 43 43 [PluginDependency("HeuristicLab.Problems.DataAnalysis", "3.4")] 44 44 [PluginDependency("HeuristicLab.Problems.Instances", "3.3")] 45 [PluginDependency("HeuristicLab.Random", "3.3")] 46 [PluginDependency("HeuristicLab.Problems.DataAnalysis.Transformations", "3.4")] 45 [PluginDependency("HeuristicLab.Random", "3.3")] 47 46 public class HeuristicLabProblemsDataAnalysisSymbolicPlugin : PluginBase { 48 47 } -
branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/SymbolicExpressionTreeBacktransformator.cs
r11011 r11068 24 24 using HeuristicLab.Common; 25 25 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 26 using HeuristicLab.Problems.DataAnalysis.Transformations;27 26 28 27 namespace HeuristicLab.Problems.DataAnalysis.Symbolic { -
branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/TransformationToSymbolicTreeMapper.cs
r10943 r11068 22 22 using System; 23 23 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 24 using HeuristicLab.Problems.DataAnalysis.Transformations;25 24 26 25 namespace HeuristicLab.Problems.DataAnalysis.Symbolic { -
branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis.Trading/3.4/HeuristicLab.Problems.DataAnalysis.Trading-3.4.csproj
r10925 r11068 202 202 <Private>False</Private> 203 203 </ProjectReference> 204 <ProjectReference Include="..\..\HeuristicLab.Problems.DataAnalysis.Transformations\3.4\HeuristicLab.Problems.DataAnalysis.Transformations-3.4.csproj">205 <Project>{2e257a94-d1af-435c-99b4-5ac00eadfd6a}</Project>206 <Name>HeuristicLab.Problems.DataAnalysis.Transformations-3.4</Name>207 </ProjectReference>208 204 <ProjectReference Include="..\..\HeuristicLab.Problems.DataAnalysis\3.4\HeuristicLab.Problems.DataAnalysis-3.4.csproj"> 209 205 <Project>{df87c13e-a889-46ff-8153-66dcaa8c5674}</Project> -
branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis.Trading/3.4/Plugin.cs.frame
r10925 r11068 38 38 [PluginDependency("HeuristicLab.Problems.DataAnalysis.Symbolic", "3.4")] 39 39 [PluginDependency("HeuristicLab.Problems.Instances", "3.3")] 40 [PluginDependency("HeuristicLab.Problems.Instances.DataAnalysis", "3.3")] 41 [PluginDependency("HeuristicLab.Problems.DataAnalysis.Transformations", "3.4")] 40 [PluginDependency("HeuristicLab.Problems.Instances.DataAnalysis", "3.3")] 42 41 public class Plugin : PluginBase { 43 42 } -
branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis.Trading/3.4/ProblemData.cs
r11064 r11068 28 28 using HeuristicLab.Parameters; 29 29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 30 using HeuristicLab.Problems.DataAnalysis.Transformations;31 30 32 31 namespace HeuristicLab.Problems.DataAnalysis.Trading { -
branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis/3.4/HeuristicLab.Problems.DataAnalysis-3.4.csproj
r10925 r11068 141 141 <Compile Include="Implementation\TimeSeriesPrognosis\TimeSeriesPrognosisSolution.cs" /> 142 142 <Compile Include="Implementation\TimeSeriesPrognosis\TimeSeriesPrognosisSolutionBase.cs" /> 143 <Compile Include="Implementation\Transformations\CopyColumnTransformation.cs" /> 144 <Compile Include="Implementation\Transformations\ExponentialTransformation.cs" /> 145 <Compile Include="Implementation\Transformations\LinearTransformation.cs" /> 146 <Compile Include="Implementation\Transformations\LogarithmicTransformation.cs" /> 147 <Compile Include="Implementation\Transformations\PowerTransformation.cs" /> 148 <Compile Include="Implementation\Transformations\ReciprocalTransformation.cs" /> 149 <Compile Include="Implementation\Transformations\ShiftStandardDistributionTransformation.cs" /> 150 <Compile Include="Implementation\Transformations\ShiftToRangeTransformation.cs" /> 151 <Compile Include="Implementation\Transformations\Transformation.cs" /> 143 152 <Compile Include="Interfaces\Classification\IClassificationEnsembleModel.cs"> 144 153 <SubType>Code</SubType> … … 151 160 <Compile Include="Interfaces\IDependencyCalculator.cs" /> 152 161 <Compile Include="Interfaces\IModelBacktransformator.cs" /> 162 <Compile Include="Interfaces\ITransformation.cs" /> 153 163 <Compile Include="Interfaces\ITransformationMapper.cs" /> 154 164 <Compile Include="Interfaces\Regression\IRegressionEnsembleModel.cs"> … … 283 293 <Private>False</Private> 284 294 </ProjectReference> 285 <ProjectReference Include="..\..\HeuristicLab.Problems.DataAnalysis.Transformations\3.4\HeuristicLab.Problems.DataAnalysis.Transformations-3.4.csproj">286 <Project>{2e257a94-d1af-435c-99b4-5ac00eadfd6a}</Project>287 <Name>HeuristicLab.Problems.DataAnalysis.Transformations-3.4</Name>288 </ProjectReference>289 295 <ProjectReference Include="..\..\HeuristicLab.Problems.Instances\3.3\HeuristicLab.Problems.Instances-3.3.csproj"> 290 296 <Project>{3540E29E-4793-49E7-8EE2-FEA7F61C3994}</Project> -
branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Classification/ClassificationProblemData.cs
r11009 r11068 28 28 using HeuristicLab.Parameters; 29 29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 30 using HeuristicLab.Problems.DataAnalysis.Transformations;31 30 32 31 namespace HeuristicLab.Problems.DataAnalysis { -
branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Clustering/ClusteringProblemData.cs
r10922 r11068 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 26 using HeuristicLab.Problems.DataAnalysis.Transformations;27 26 28 27 namespace HeuristicLab.Problems.DataAnalysis { -
branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/DataAnalysisProblemData.cs
r11009 r11068 30 30 using HeuristicLab.Parameters; 31 31 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 32 using HeuristicLab.Problems.DataAnalysis.Transformations;33 32 34 33 namespace HeuristicLab.Problems.DataAnalysis { … … 127 126 } 128 127 129 protected DataAnalysisProblemData(Dataset dataset, IEnumerable<string> allowedInputVariables, I List<ITransformation> transformations) {128 protected DataAnalysisProblemData(Dataset dataset, IEnumerable<string> allowedInputVariables, IEnumerable<ITransformation> transformations) { 130 129 if (dataset == null) throw new ArgumentNullException("The dataset must not be null."); 131 130 if (allowedInputVariables == null) throw new ArgumentNullException("The allowedInputVariables must not be null."); -
branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/RegressionProblemData.cs
r11009 r11068 28 28 using HeuristicLab.Parameters; 29 29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 30 using HeuristicLab.Problems.DataAnalysis.Transformations;31 30 32 31 namespace HeuristicLab.Problems.DataAnalysis { -
branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Transformations/CopyColumnTransformation.cs
r11063 r11068 28 28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 29 29 30 namespace HeuristicLab.Problems.DataAnalysis .Transformations{30 namespace HeuristicLab.Problems.DataAnalysis { 31 31 [Item("CopyColumnTransformation", "Represents a transformation which represents a copied Column.")] 32 32 public class CopyColumnTransformation : Transformation { -
branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Transformations/ExponentialTransformation.cs
r11063 r11068 7 7 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 8 8 9 namespace HeuristicLab.Problems.DataAnalysis .Transformations{9 namespace HeuristicLab.Problems.DataAnalysis { 10 10 [Item("Exponential Transformation", "f(x) = b ^ x | Represents a exponential transformation.")] 11 11 public class ExponentialTransformation : Transformation<double> { -
branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Transformations/LinearTransformation.cs
r11063 r11068 30 30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 31 31 32 namespace HeuristicLab.Problems.DataAnalysis .Transformations{32 namespace HeuristicLab.Problems.DataAnalysis { 33 33 [Item("Linear Transformation", "f(x) = k * x + d | Represents a linear transformation with multiplication and addition.")] 34 34 public class LinearTransformation : Transformation<double> { -
branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Transformations/LogarithmicTransformation.cs
r11063 r11068 8 8 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 9 9 10 namespace HeuristicLab.Problems.DataAnalysis .Transformations{10 namespace HeuristicLab.Problems.DataAnalysis { 11 11 [Item("Logarithmic Transformation", "f(x) = log(x, b) | Represents a logarithmic transformation.")] 12 12 public class LogarithmicTransformation : Transformation<double> { -
branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Transformations/PowerTransformation.cs
r11063 r11068 7 7 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 8 8 9 namespace HeuristicLab.Problems.DataAnalysis .Transformations{9 namespace HeuristicLab.Problems.DataAnalysis { 10 10 [Item("Power Transformation", "f(x) = x ^ exp | Represents a power transformation.")] 11 11 public class PowerTransformation : Transformation<double> { -
branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Transformations/ReciprocalTransformation.cs
r11063 r11068 6 6 using HeuristicLab.Core; 7 7 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 8 namespace HeuristicLab.Problems.DataAnalysis .Transformations{8 namespace HeuristicLab.Problems.DataAnalysis { 9 9 [Item("Reciprocal Transformation", "f(x) = 1 / x | Represents a reciprocal transformation.")] 10 10 public class ReciprocalTransformation : Transformation<double> { -
branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Transformations/ShiftStandardDistributionTransformation.cs
r11063 r11068 7 7 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 8 8 9 namespace HeuristicLab.Problems.DataAnalysis .Transformations{9 namespace HeuristicLab.Problems.DataAnalysis { 10 10 [Item("Shift Standard Distribution Transformation", "f(x) = ((x - m_org) / s_org ) * s_tar + m_tar | Represents Transformation to unit standard deviation and additional linear transformation to a target Mean and Standard deviation")] 11 11 public class ShiftStandardDistributionTransformation : Transformation<double> { -
branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Transformations/ShiftToRangeTransformation.cs
r11063 r11068 7 7 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 8 8 9 namespace HeuristicLab.Problems.DataAnalysis .Transformations{9 namespace HeuristicLab.Problems.DataAnalysis { 10 10 [Item("Shift to Range Transformation", "f(x) = k * x + d, start <= f(x) <= end | Represents a linear Transformation using Parameters defining a target range")] 11 11 public class ShiftToRangeTransformation : LinearTransformation { -
branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Transformations/Transformation.cs
r11063 r11068 28 28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 29 29 30 namespace HeuristicLab.Problems.DataAnalysis .Transformations{30 namespace HeuristicLab.Problems.DataAnalysis { 31 31 32 32 [Item("Transformation", "Represents the base class for a transformation.")] … … 64 64 protected Transformation(bool deserializing) : base(deserializing) { } 65 65 protected Transformation(Transformation<T> original, Cloner cloner) : base(original, cloner) { } 66 protected Transformation(IEnumerable<string> allowedColumns) :base(allowedColumns) { }66 protected Transformation(IEnumerable<string> allowedColumns) : base(allowedColumns) { } 67 67 68 68 public abstract IEnumerable<T> Apply(IEnumerable<T> data); -
branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis/3.4/Interfaces/IDataAnalysisProblemData.cs
r11009 r11068 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Data; 26 using HeuristicLab.Problems.DataAnalysis.Transformations;27 26 28 27 namespace HeuristicLab.Problems.DataAnalysis { -
branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis/3.4/Interfaces/IModelBacktransformator.cs
r11011 r11068 21 21 22 22 using System.Collections.Generic; 23 using HeuristicLab.Problems.DataAnalysis.Transformations; 23 24 24 25 25 namespace HeuristicLab.Problems.DataAnalysis { -
branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis/3.4/Interfaces/ITransformation.cs
r11063 r11068 23 23 using HeuristicLab.Core; 24 24 25 namespace HeuristicLab.Problems.DataAnalysis .Transformations{25 namespace HeuristicLab.Problems.DataAnalysis { 26 26 public interface ITransformation : IParameterizedItem { 27 27 string ShortName { get; } -
branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis/3.4/Interfaces/ITransformationMapper.cs
r10854 r11068 20 20 #endregion 21 21 22 using HeuristicLab.Problems.DataAnalysis.Transformations;23 22 24 23 namespace HeuristicLab.Problems.DataAnalysis { -
branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis/3.4/Plugin.cs.frame
r10925 r11068 37 37 [PluginDependency("HeuristicLab.Parameters", "3.3")] 38 38 [PluginDependency("HeuristicLab.Persistence", "3.3")] 39 [PluginDependency("HeuristicLab.Problems.Instances", "3.3")] 40 [PluginDependency("HeuristicLab.Problems.DataAnalysis.Transformations", "3.4")] 39 [PluginDependency("HeuristicLab.Problems.Instances", "3.3")] 41 40 public class HeuristicLabProblemsDataAnalysisPlugin : PluginBase { 42 41 } -
branches/DataPreprocessing/HeuristicLab.Problems.Instances.DataAnalysis/3.3/HeuristicLab.Problems.Instances.DataAnalysis-3.3.csproj
r10925 r11068 259 259 <Private>False</Private> 260 260 </ProjectReference> 261 <ProjectReference Include="..\..\HeuristicLab.Problems.DataAnalysis.Transformations\3.4\HeuristicLab.Problems.DataAnalysis.Transformations-3.4.csproj">262 <Project>{2e257a94-d1af-435c-99b4-5ac00eadfd6a}</Project>263 <Name>HeuristicLab.Problems.DataAnalysis.Transformations-3.4</Name>264 </ProjectReference>265 261 <ProjectReference Include="..\..\HeuristicLab.Problems.DataAnalysis\3.4\HeuristicLab.Problems.DataAnalysis-3.4.csproj"> 266 262 <Project>{DF87C13E-A889-46FF-8153-66DCAA8C5674}</Project> -
branches/DataPreprocessing/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Plugin.cs.frame
r10925 r11068 31 31 [PluginDependency("HeuristicLab.Parameters", "3.3")] 32 32 [PluginDependency("HeuristicLab.Persistence", "3.3")] 33 [PluginDependency("HeuristicLab.Problems.DataAnalysis", "3.4")] 34 [PluginDependency("HeuristicLab.Problems.DataAnalysis.Transformations", "3.4")] 33 [PluginDependency("HeuristicLab.Problems.DataAnalysis", "3.4")] 35 34 [PluginDependency("HeuristicLab.Problems.Instances", "3.3")] 36 35 [PluginDependency("HeuristicLab.Random", "3.3")]
Note: See TracChangeset
for help on using the changeset viewer.