Changeset 14421
- Timestamp:
- 11/26/16 21:47:10 (8 years ago)
- Location:
- branches/symbreg-factors-2650
- Files:
-
- 19 edited
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/symbreg-factors-2650
- Property svn:mergeinfo changed
/trunk/sources merged: 14405,14407-14408,14412,14418
- Property svn:mergeinfo changed
-
branches/symbreg-factors-2650/HeuristicLab.DataPreprocessing.Views
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.DataPreprocessing.Views merged: 14418
- Property svn:mergeinfo changed
-
branches/symbreg-factors-2650/HeuristicLab.DataPreprocessing.Views/3.4/HeuristicLab.DataPreprocessing.Views-3.4.csproj
r14401 r14421 98 98 <ItemGroup> 99 99 <Compile Include="DataPreprocessingMenuItem.cs" /> 100 <Compile Include="PreprocessingChartView.cs"> 101 <SubType>UserControl</SubType> 102 </Compile> 100 <Compile Include="PreprocessingFeatureCorrelationView.cs"> 101 <SubType>UserControl</SubType> 102 </Compile> 103 <Compile Include="PreprocessingFeatureCorrelationView.Designer.cs"> 104 <DependentUpon>PreprocessingFeatureCorrelationView.cs</DependentUpon> 105 </Compile> 106 <Compile Include="CheckedFilterCollectionView.cs"> 107 <SubType>UserControl</SubType> 108 </Compile> 109 <Compile Include="CheckedFilterCollectionView.Designer.cs"> 110 <DependentUpon>CheckedFilterCollectionView.cs</DependentUpon> 111 </Compile> 112 <Compile Include="CheckedTransformationListView.cs"> 113 <SubType>UserControl</SubType> 114 </Compile> 115 <Compile Include="CheckedTransformationListView.Designer.cs"> 116 <DependentUpon>CheckedTransformationListView.cs</DependentUpon> 117 </Compile> 118 <Compile Include="ComparisonFilterView.cs"> 119 <SubType>UserControl</SubType> 120 </Compile> 121 <Compile Include="ComparisonFilterView.Designer.cs"> 122 <DependentUpon>ComparisonFilterView.cs</DependentUpon> 123 </Compile> 124 <Compile Include="RenameColumnsDialog.cs"> 125 <SubType>Form</SubType> 126 </Compile> 127 <Compile Include="RenameColumnsDialog.Designer.cs"> 128 <DependentUpon>RenameColumnsDialog.cs</DependentUpon> 129 </Compile> 130 <Compile Include="ScatterPlotSingleView.cs"> 131 <SubType>UserControl</SubType> 132 </Compile> 133 <Compile Include="ScatterPlotSingleView.Designer.cs"> 134 <DependentUpon>ScatterPlotSingleView.cs</DependentUpon> 135 </Compile> 136 <Compile Include="DataCompletenessView.cs"> 137 <SubType>UserControl</SubType> 138 </Compile> 139 <Compile Include="DataCompletenessView.Designer.cs"> 140 <DependentUpon>DataCompletenessView.cs</DependentUpon> 141 </Compile> 142 <Compile Include="DataGridContentView.cs"> 143 <SubType>UserControl</SubType> 144 </Compile> 145 <Compile Include="DataGridContentView.Designer.cs"> 146 <DependentUpon>DataGridContentView.cs</DependentUpon> 147 </Compile> 148 <Compile Include="DataPreprocessingView.cs"> 149 <SubType>UserControl</SubType> 150 </Compile> 151 <Compile Include="DataPreprocessingView.designer.cs"> 152 <DependentUpon>DataPreprocessingView.cs</DependentUpon> 153 </Compile> 154 <Compile Include="DataPreprocessorStarter.cs" /> 155 <Compile Include="PreprocessingDataTableView.cs"> 156 <SubType>UserControl</SubType> 157 </Compile> 158 <Compile Include="PreprocessingDataTableView.Designer.cs"> 159 <DependentUpon>PreprocessingDataTableView.cs</DependentUpon> 160 </Compile> 161 <Compile Include="FilterView.cs"> 162 <SubType>UserControl</SubType> 163 </Compile> 164 <Compile Include="FilterView.Designer.cs"> 165 <DependentUpon>FilterView.cs</DependentUpon> 166 </Compile> 167 <Compile Include="ScatterPlotMultiView.cs" /> 168 <Compile Include="ScatterPlotMultiView.Designer.cs"> 169 <DependentUpon>ScatterPlotMultiView.cs</DependentUpon> 170 </Compile> 171 <Compile Include="PreprocessingScatterPlotView.cs"> 172 <SubType>UserControl</SubType> 173 </Compile> 174 <Compile Include="PreprocessingScatterPlotView.Designer.cs"> 175 <DependentUpon>PreprocessingScatterPlotView.cs</DependentUpon> 176 </Compile> 177 <Compile Include="SearchAndReplaceDialog.cs"> 178 <SubType>Form</SubType> 179 </Compile> 180 <Compile Include="SearchAndReplaceDialog.Designer.cs"> 181 <DependentUpon>SearchAndReplaceDialog.cs</DependentUpon> 182 </Compile> 183 <Compile Include="HistogramView.cs" /> 184 <Compile Include="HistogramView.Designer.cs"> 185 <DependentUpon>HistogramView.cs</DependentUpon> 186 </Compile> 187 <Compile Include="LineChartView.cs" /> 188 <Compile Include="LineChartView.Designer.cs"> 189 <DependentUpon>LineChartView.cs</DependentUpon> 190 </Compile> 191 <Compile Include="ManipulationView.cs"> 192 <SubType>UserControl</SubType> 193 </Compile> 194 <Compile Include="ManipulationView.Designer.cs"> 195 <DependentUpon>ManipulationView.cs</DependentUpon> 196 </Compile> 197 <Compile Include="Plugin.cs" /> 198 <Compile Include="PreprocessingChartView.cs" /> 103 199 <Compile Include="PreprocessingChartView.Designer.cs"> 104 200 <DependentUpon>PreprocessingChartView.cs</DependentUpon> 105 </Compile>106 <Compile Include="PreprocessingFeatureCorrelationView.cs">107 <SubType>UserControl</SubType>108 </Compile>109 <Compile Include="PreprocessingFeatureCorrelationView.Designer.cs">110 <DependentUpon>PreprocessingFeatureCorrelationView.cs</DependentUpon>111 </Compile>112 <Compile Include="CheckedFilterCollectionView.cs">113 <SubType>UserControl</SubType>114 </Compile>115 <Compile Include="CheckedFilterCollectionView.Designer.cs">116 <DependentUpon>CheckedFilterCollectionView.cs</DependentUpon>117 </Compile>118 <Compile Include="CheckedTransformationListView.cs">119 <SubType>UserControl</SubType>120 </Compile>121 <Compile Include="CheckedTransformationListView.Designer.cs">122 <DependentUpon>CheckedTransformationListView.cs</DependentUpon>123 </Compile>124 <Compile Include="ComparisonFilterView.cs">125 <SubType>UserControl</SubType>126 </Compile>127 <Compile Include="ComparisonFilterView.Designer.cs">128 <DependentUpon>ComparisonFilterView.cs</DependentUpon>129 </Compile>130 <Compile Include="RenameColumnsDialog.cs">131 <SubType>Form</SubType>132 </Compile>133 <Compile Include="RenameColumnsDialog.Designer.cs">134 <DependentUpon>RenameColumnsDialog.cs</DependentUpon>135 </Compile>136 <Compile Include="ScatterPlotSingleView.cs">137 <SubType>UserControl</SubType>138 </Compile>139 <Compile Include="ScatterPlotSingleView.Designer.cs">140 <DependentUpon>ScatterPlotSingleView.cs</DependentUpon>141 </Compile>142 <Compile Include="DataCompletenessView.cs">143 <SubType>UserControl</SubType>144 </Compile>145 <Compile Include="DataCompletenessView.Designer.cs">146 <DependentUpon>DataCompletenessView.cs</DependentUpon>147 </Compile>148 <Compile Include="DataGridContentView.cs">149 <SubType>UserControl</SubType>150 </Compile>151 <Compile Include="DataGridContentView.Designer.cs">152 <DependentUpon>DataGridContentView.cs</DependentUpon>153 </Compile>154 <Compile Include="DataPreprocessingView.cs">155 <SubType>UserControl</SubType>156 </Compile>157 <Compile Include="DataPreprocessingView.designer.cs">158 <DependentUpon>DataPreprocessingView.cs</DependentUpon>159 </Compile>160 <Compile Include="DataPreprocessorStarter.cs" />161 <Compile Include="PreprocessingDataTableView.cs">162 <SubType>UserControl</SubType>163 </Compile>164 <Compile Include="PreprocessingDataTableView.Designer.cs">165 <DependentUpon>PreprocessingDataTableView.cs</DependentUpon>166 </Compile>167 <Compile Include="FilterView.cs">168 <SubType>UserControl</SubType>169 </Compile>170 <Compile Include="FilterView.Designer.cs">171 <DependentUpon>FilterView.cs</DependentUpon>172 </Compile>173 <Compile Include="ScatterPlotMultiView.cs">174 <SubType>UserControl</SubType>175 </Compile>176 <Compile Include="ScatterPlotMultiView.Designer.cs">177 <DependentUpon>ScatterPlotMultiView.cs</DependentUpon>178 </Compile>179 <Compile Include="PreprocessingScatterPlotView.cs">180 <SubType>UserControl</SubType>181 </Compile>182 <Compile Include="PreprocessingScatterPlotView.Designer.cs">183 <DependentUpon>PreprocessingScatterPlotView.cs</DependentUpon>184 </Compile>185 <Compile Include="SearchAndReplaceDialog.cs">186 <SubType>Form</SubType>187 </Compile>188 <Compile Include="SearchAndReplaceDialog.Designer.cs">189 <DependentUpon>SearchAndReplaceDialog.cs</DependentUpon>190 </Compile>191 <Compile Include="HistogramView.cs">192 <SubType>UserControl</SubType>193 </Compile>194 <Compile Include="HistogramView.Designer.cs">195 <DependentUpon>HistogramView.cs</DependentUpon>196 </Compile>197 <Compile Include="LineChartView.cs">198 <SubType>UserControl</SubType>199 </Compile>200 <Compile Include="LineChartView.Designer.cs">201 <DependentUpon>LineChartView.cs</DependentUpon>202 </Compile>203 <Compile Include="ManipulationView.cs">204 <SubType>UserControl</SubType>205 </Compile>206 <Compile Include="ManipulationView.Designer.cs">207 <DependentUpon>ManipulationView.cs</DependentUpon>208 </Compile>209 <Compile Include="Plugin.cs" />210 <Compile Include="PreprocessingCheckedVariablesView.cs">211 <SubType>UserControl</SubType>212 </Compile>213 <Compile Include="PreprocessingCheckedVariablesView.Designer.cs">214 <DependentUpon>PreprocessingCheckedVariablesView.cs</DependentUpon>215 201 </Compile> 216 202 <Compile Include="PreprocessingCheckedItemListView.cs"> -
branches/symbreg-factors-2650/HeuristicLab.DataPreprocessing.Views/3.4/PreprocessingChartView.cs
r14401 r14421 61 61 InitData(); 62 62 GenerateChart(); 63 64 foreach (var row in dataRows) { 65 string variableName = row.Name; 66 if (!IsVariableChecked(variableName)) { 67 dataTableView.SetRowEnabled(variableName, false); 68 dataTable.SelectedRows.Remove(variableName); 69 dataTablePerVariable.Remove(dataTablePerVariable.Find(x => (x.Name == variableName))); 70 } 71 } 63 72 } 64 73 } … … 71 80 72 81 //add data rows to data tables according to checked item list 73 foreach (var checkedItem in Content.VariableItemList.CheckedItems) { 74 string variableName = Content.VariableItemList[checkedItem.Index].Value; 82 foreach (var row in dataRows) { 83 string variableName = row.Name; 84 85 //add row to data table 86 dataTable.Rows.Add(row); 87 88 //add row to data table per variable 75 89 PreprocessingDataTable d = new PreprocessingDataTable(variableName); 76 DataRow row = GetDataRow(variableName); 77 78 if (row != null) { 79 //add row to data table 80 dataTable.Rows.Add(row); 81 82 //add row to data table per variable 83 d.Rows.Add(row); 84 dataTablePerVariable.Add(d); 85 } 90 d.Rows.Add(row); 91 dataTablePerVariable.Add(d); 86 92 } 87 93 … … 95 101 string variableName = item.Value.Value; 96 102 97 // not checked -> remove 103 98 104 if (!IsVariableChecked(variableName)) { 105 // not checked -> remove 99 106 dataTableView.SetRowEnabled(variableName, false); 100 107 dataTable.SelectedRows.Remove(variableName); 101 108 dataTablePerVariable.Remove(dataTablePerVariable.Find(x => (x.Name == variableName))); 102 109 } else { 110 // checked -> add 103 111 DataRow row = GetDataRow(variableName); 104 112 DataRow selectedRow = GetSelectedDataRow(variableName); -
branches/symbreg-factors-2650/HeuristicLab.DataPreprocessing.Views/3.4/PreprocessingCheckedVariablesView.cs
r14401 r14421 56 56 57 57 if (Content.VariableItemList == null) { 58 Content.VariableItemList = Content.CreateVariableItemList(); 58 IList<string> inputs = Content.PreprocessingData.InputVariables; 59 if (Content.PreprocessingData.TargetVariable != null) 60 inputs = inputs.Union(new[] {Content.PreprocessingData.TargetVariable}).ToList(); 61 Content.VariableItemList = Content.CreateVariableItemList(inputs); 59 62 } else { 60 63 var checkedNames = Content.VariableItemList.CheckedItems.Select(x => x.Value.Value); 61 Content.VariableItemList = Content.CreateVariableItemList(checkedNames );64 Content.VariableItemList = Content.CreateVariableItemList(checkedNames.ToList()); 62 65 } 63 66 Content.VariableItemList.CheckedItemsChanged += CheckedItemsChanged; -
branches/symbreg-factors-2650/HeuristicLab.DataPreprocessing/3.4
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.DataPreprocessing/3.4 merged: 14418
- Property svn:mergeinfo changed
-
branches/symbreg-factors-2650/HeuristicLab.DataPreprocessing/3.4/Content/PreprocessingChartContent.cs
r14185 r14421 23 23 using System.Collections.Generic; 24 24 using System.Drawing; 25 using System.Linq;26 25 using HeuristicLab.Analysis; 27 26 using HeuristicLab.Common; … … 126 125 127 126 128 public ICheckedItemList<StringValue> CreateVariableItemList(IEnumerable<string> checkedItems = null) { 127 public ICheckedItemList<StringValue> CreateVariableItemList(IList<string> checkedItems = null) { 128 if (checkedItems == null) checkedItems = new string[0]; 129 129 ICheckedItemList<StringValue> itemList = new CheckedItemList<StringValue>(); 130 130 foreach (string name in PreprocessingData.GetDoubleVariableNames()) { 131 131 var n = new StringValue(name); 132 itemList.Add(n, (checkedItems == null) ? true :checkedItems.Contains(name));132 itemList.Add(n, checkedItems.Contains(name)); 133 133 } 134 134 return new ReadOnlyCheckedItemList<StringValue>(itemList); -
branches/symbreg-factors-2650/HeuristicLab.Encodings.BinaryVectorEncoding
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Encodings.BinaryVectorEncoding (added) merged: 14412
- Property svn:mergeinfo changed
-
branches/symbreg-factors-2650/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/HeuristicLab.Encodings.BinaryVectorEncoding-3.3.csproj
r11961 r14421 126 126 <Compile Include="Crossovers\NPointCrossover.cs" /> 127 127 <Compile Include="BinaryVector.cs" /> 128 <Compile Include="HammingSimilarityCalculator.cs" /> 128 129 <Compile Include="Interfaces\IBinaryVectorMultiNeighborhoodShakingOperator.cs" /> 129 130 <Compile Include="Interfaces\IOneBitflipMoveOperator.cs" /> -
branches/symbreg-factors-2650/HeuristicLab.Problems.Binary/3.3/BinaryProblem.cs
r14185 r14421 24 24 using System; 25 25 using System.Linq; 26 using HeuristicLab.Analysis; 26 27 using HeuristicLab.Common; 27 28 using HeuristicLab.Core; … … 29 30 using HeuristicLab.Encodings.BinaryVectorEncoding; 30 31 using HeuristicLab.Optimization; 32 using HeuristicLab.Optimization.Operators; 31 33 using HeuristicLab.Parameters; 32 34 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; … … 61 63 Parameters.Add(lengthParameter); 62 64 Encoding.LengthParameter = lengthParameter; 65 Operators.Add(new HammingSimilarityCalculator()); 66 Operators.Add(new QualitySimilarityCalculator()); 67 Operators.Add(new PopulationSimilarityAnalyzer(Operators.OfType<ISolutionSimilarityCalculator>())); 68 Parameterize(); 63 69 RegisterEventHandlers(); 64 70 } … … 87 93 base.OnEncodingChanged(); 88 94 Encoding.LengthParameter = LengthParameter; 95 Parameterize(); 89 96 } 90 97 98 private void Parameterize() { 99 foreach (var similarityCalculator in Operators.OfType<ISolutionSimilarityCalculator>()) { 100 similarityCalculator.SolutionVariableName = Encoding.SolutionCreator.BinaryVectorParameter.ActualName; 101 similarityCalculator.QualityVariableName = Evaluator.QualityParameter.ActualName; 102 } 103 } 91 104 92 105 private void RegisterEventHandlers() { -
branches/symbreg-factors-2650/HeuristicLab.Problems.Binary/3.3/HeuristicLab.Problems.Binary-3.3.csproj
r11993 r14421 96 96 </ItemGroup> 97 97 <ItemGroup> 98 <ProjectReference Include="..\..\HeuristicLab.Analysis\3.3\HeuristicLab.Analysis-3.3.csproj"> 99 <Project>{887425B4-4348-49ED-A457-B7D2C26DDBF9}</Project> 100 <Name>HeuristicLab.Analysis-3.3</Name> 101 <Private>False</Private> 102 </ProjectReference> 98 103 <ProjectReference Include="..\..\HeuristicLab.Collections\3.3\HeuristicLab.Collections-3.3.csproj"> 99 104 <Project>{958b43bc-cc5c-4fa2-8628-2b3b01d890b6}</Project> … … 124 129 <Project>{23da7ff4-d5b8-41b6-aa96-f0561d24f3ee}</Project> 125 130 <Name>HeuristicLab.Operators-3.3</Name> 131 <Private>False</Private> 132 </ProjectReference> 133 <ProjectReference Include="..\..\HeuristicLab.Optimization.Operators\3.3\HeuristicLab.Optimization.Operators-3.3.csproj"> 134 <Project>{25087811-f74c-4128-bc86-8324271da13e}</Project> 135 <Name>HeuristicLab.Optimization.Operators-3.3</Name> 126 136 <Private>False</Private> 127 137 </ProjectReference> … … 163 173 $SolutionDir/PreBuildEvent.sh 164 174 </PreBuildEvent> 165 </PropertyGroup> 175 </PropertyGroup> 166 176 <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 167 177 Other similar extension points exist, see Microsoft.Common.targets. -
branches/symbreg-factors-2650/HeuristicLab.Problems.Binary/3.3/Plugin.cs.frame
r14195 r14421 28 28 [Plugin("HeuristicLab.Problems.Binary","Provides binary benchmark problems.", "3.3.14.$WCREV$")] 29 29 [PluginFile("HeuristicLab.Problems.Binary-3.3.dll", PluginFileType.Assembly)] 30 [PluginDependency("HeuristicLab.Analysis", "3.3")] 30 31 [PluginDependency("HeuristicLab.Collections", "3.3")] 31 32 [PluginDependency("HeuristicLab.Common", "3.3")] … … 34 35 [PluginDependency("HeuristicLab.Encodings.BinaryVectorEncoding", "3.3")] 35 36 [PluginDependency("HeuristicLab.Optimization", "3.3")] 37 [PluginDependency("HeuristicLab.Optimization.Operators", "3.3")] 36 38 [PluginDependency("HeuristicLab.Parameters", "3.3")] 37 39 [PluginDependency("HeuristicLab.Persistence", "3.3")] -
branches/symbreg-factors-2650/HeuristicLab.Problems.DataAnalysis.Views
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Problems.DataAnalysis.Views merged: 14405
- Property svn:mergeinfo changed
-
branches/symbreg-factors-2650/HeuristicLab.Problems.DataAnalysis.Views/3.4/Regression/RegressionSolutionScatterPlotView.cs
r14277 r14421 76 76 //configure axis 77 77 this.chart.CustomizeAllChartAreas(); 78 this.chart.ChartAreas[0].AxisX.Title = "Estimated Values"; 78 this.chart.ChartAreas[0].AxisY.Title = "Estimated Values"; 79 this.chart.ChartAreas[0].CursorY.IsUserSelectionEnabled = true; 80 this.chart.ChartAreas[0].AxisY.ScaleView.Zoomable = true; 81 this.chart.ChartAreas[0].CursorX.Interval = 1; 82 this.chart.ChartAreas[0].CursorY.Interval = 1; 83 84 this.chart.ChartAreas[0].AxisX.Title = "Target Values"; 79 85 this.chart.ChartAreas[0].CursorX.IsUserSelectionEnabled = true; 80 86 this.chart.ChartAreas[0].AxisX.ScaleView.Zoomable = true; 81 this.chart.ChartAreas[0].CursorX.Interval = 1; 82 this.chart.ChartAreas[0].CursorY.Interval = 1; 83 84 this.chart.ChartAreas[0].AxisY.Title = "Target Values"; 85 this.chart.ChartAreas[0].CursorY.IsUserSelectionEnabled = true; 86 this.chart.ChartAreas[0].AxisY.ScaleView.Zoomable = true; 87 this.chart.ChartAreas[0].AxisY.IsStartedFromZero = true; 87 this.chart.ChartAreas[0].AxisX.IsStartedFromZero = true; 88 88 } 89 89 … … 158 158 var dataset = Content.ProblemData.Dataset; 159 159 if (this.chart.Series[ALL_SERIES].Points.Count > 0) 160 this.chart.Series[ALL_SERIES].Points.DataBindXY( Content.EstimatedValues.ToArray(), "",161 dataset.GetDoubleValues(targetVariableName).ToArray(), "");160 this.chart.Series[ALL_SERIES].Points.DataBindXY(dataset.GetDoubleValues(targetVariableName).ToArray(), "", 161 Content.EstimatedValues.ToArray(), ""); 162 162 if (this.chart.Series[TRAINING_SERIES].Points.Count > 0) 163 this.chart.Series[TRAINING_SERIES].Points.DataBindXY( Content.EstimatedTrainingValues.ToArray(), "",164 dataset.GetDoubleValues(targetVariableName, Content.ProblemData.TrainingIndices).ToArray(), "");163 this.chart.Series[TRAINING_SERIES].Points.DataBindXY(dataset.GetDoubleValues(targetVariableName, Content.ProblemData.TrainingIndices).ToArray(), "", 164 Content.EstimatedTrainingValues.ToArray(), ""); 165 165 if (this.chart.Series[TEST_SERIES].Points.Count > 0) 166 this.chart.Series[TEST_SERIES].Points.DataBindXY(Content.EstimatedTestValues.ToArray(), "", 167 dataset.GetDoubleValues(targetVariableName, Content.ProblemData.TestIndices).ToArray(), ""); 168 166 this.chart.Series[TEST_SERIES].Points.DataBindXY(dataset.GetDoubleValues(targetVariableName, Content.ProblemData.TestIndices).ToArray(), "", 167 Content.EstimatedTestValues.ToArray(), ""); 169 168 double max = Content.EstimatedTrainingValues.Concat(Content.EstimatedTestValues.Concat(Content.EstimatedValues.Concat(dataset.GetDoubleValues(targetVariableName)))).Max(); 170 169 double min = Content.EstimatedTrainingValues.Concat(Content.EstimatedTestValues.Concat(Content.EstimatedValues.Concat(dataset.GetDoubleValues(targetVariableName)))).Min(); … … 172 171 double axisMin, axisMax, axisInterval; 173 172 ChartUtil.CalculateOptimalAxisInterval(min, max, out axisMin, out axisMax, out axisInterval); 174 this.chart.ChartAreas[0].AxisX.Title = "Estimated " + targetVariableName; 173 this.chart.ChartAreas[0].AxisY.Title = "Estimated " + targetVariableName; 174 this.chart.ChartAreas[0].AxisY.Maximum = axisMax; 175 this.chart.ChartAreas[0].AxisY.Minimum = axisMin; 176 this.chart.ChartAreas[0].AxisY.Interval = axisInterval; 177 this.chart.ChartAreas[0].AxisX.Title = targetVariableName; 175 178 this.chart.ChartAreas[0].AxisX.Maximum = axisMax; 176 179 this.chart.ChartAreas[0].AxisX.Minimum = axisMin; 177 180 this.chart.ChartAreas[0].AxisX.Interval = axisInterval; 178 this.chart.ChartAreas[0].AxisY.Title = targetVariableName;179 this.chart.ChartAreas[0].AxisY.Maximum = axisMax;180 this.chart.ChartAreas[0].AxisY.Minimum = axisMin;181 this.chart.ChartAreas[0].AxisY.Interval = axisInterval;182 181 183 182 UpdateCursorInterval(); … … 216 215 } 217 216 if (predictedValues.Length == targetValues.Length) 218 series.Points.DataBindXY( predictedValues, "", targetValues, "");217 series.Points.DataBindXY(targetValues, "", predictedValues, ""); 219 218 this.chart.Legends[series.Legend].ForeColor = Color.Black; 220 219 UpdateCursorInterval(); -
branches/symbreg-factors-2650/HeuristicLab.Problems.Instances.DataAnalysis
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis merged: 14408
- Property svn:mergeinfo changed
-
branches/symbreg-factors-2650/HeuristicLab.Problems.Instances.DataAnalysis/3.3/TableFileParser.cs
r14330 r14421 28 28 using System.IO; 29 29 using System.Linq; 30 using System.Runtime.Serialization;31 30 using System.Text; 32 31 … … 559 558 doubleVals[i] = doubleVal; 560 559 } else if (DateTime.TryParse(tok, dateTimeFormatInfo, DateTimeStyles.NoCurrentDateDefault, out dateTimeValue) 561 && dateTimeValue.Year > 1 && dateTimeValue.Month > 1 && dateTimeValue.Day > 1// if no date is given it is returned as 1.1.0001 -> don't allow this560 && (dateTimeValue.Year > 1 || dateTimeValue.Month > 1 || dateTimeValue.Day > 1)// if no date is given it is returned as 1.1.0001 -> don't allow this 562 561 ) { 563 562 type = TokenTypeEnum.DateTime; -
branches/symbreg-factors-2650/HeuristicLab.Problems.Knapsack/3.3/KnapsackProblem.cs
r14185 r14421 251 251 Operators.Add(new KnapsackPathRelinker()); 252 252 Operators.Add(new KnapsackSimultaneousPathRelinker()); 253 Operators.Add(new KnapsackSimilarityCalculator());253 Operators.Add(new HammingSimilarityCalculator()); 254 254 Operators.Add(new QualitySimilarityCalculator()); 255 Operators.Add(new NoSimilarityCalculator());256 255 257 256 Operators.Add(new BestKnapsackSolutionAnalyzer()); -
branches/symbreg-factors-2650/HeuristicLab.Problems.Knapsack/3.3/SimilarityCalculators/KnapsackSimilarityCalculator.cs
r14185 r14421 25 25 using HeuristicLab.Encodings.BinaryVectorEncoding; 26 26 using HeuristicLab.Optimization.Operators; 27 using HeuristicLab.PluginInfrastructure; 27 28 28 29 namespace HeuristicLab.Problems.Knapsack { … … 34 35 /// </remarks> 35 36 [Item("KnapsackSimilarityCalculator", "An operator that performs similarity calculation between two knapsack solutions. The operator calculates the similarity based on the number of elements the two solutions have in common.")] 36 public sealed class KnapsackSimilarityCalculator : SingleObjectiveSolutionSimilarityCalculator { 37 [NonDiscoverableType] 38 [Obsolete("Please use the HammingSimilarityCalculator in the HeuristicLab.Encodings.BinaryVector plugin.")] 39 internal sealed class KnapsackSimilarityCalculator : SingleObjectiveSolutionSimilarityCalculator { 37 40 protected override bool IsCommutative { get { return true; } } 38 41 -
branches/symbreg-factors-2650/HeuristicLab.Random/3.3/HeuristicLab.Random-3.3.csproj
r11939 r14421 118 118 <ItemGroup> 119 119 <None Include="Plugin.cs.frame" /> 120 <Compile Include="GammaDistributedRandom.cs" /> 120 121 <Compile Include="ListExtensions.cs" /> 121 122 <Compile Include="UniformDistributedRandom.cs" />
Note: See TracChangeset
for help on using the changeset viewer.