Changeset 9119 for branches/ClassificationModelComparison
- Timestamp:
- 01/07/13 17:33:56 (12 years ago)
- Location:
- branches/ClassificationModelComparison
- Files:
-
- 7 added
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ClassificationModelComparison/ClassificationModelComparison.sln
r9074 r9119 11 11 EndProject 12 12 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.Problems.DataAnalysis-3.4", "HeuristicLab.Problems.DataAnalysis\3.4\HeuristicLab.Problems.DataAnalysis-3.4.csproj", "{DF87C13E-A889-46FF-8153-66DCAA8C5674}" 13 EndProject 14 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.Problems.DataAnalysis.Views-3.4", "HeuristicLab.Problems.DataAnalysis.Views\3.4\HeuristicLab.Problems.DataAnalysis.Views-3.4.csproj", "{3E9E8944-44FF-40BB-A622-3A4A7DD0F198}" 15 EndProject 16 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.Algorithms.DataAnalysis.Views-3.4", "HeuristicLab.Algorithms.DataAnalysis.Views\3.4\HeuristicLab.Algorithms.DataAnalysis.Views-3.4.csproj", "{A2330DB0-413D-4424-B4E6-591118E2B9F8}" 13 17 EndProject 14 18 Global … … 46 50 {DF87C13E-A889-46FF-8153-66DCAA8C5674}.Release|x86.ActiveCfg = Release|x86 47 51 {DF87C13E-A889-46FF-8153-66DCAA8C5674}.Release|x86.Build.0 = Release|x86 52 {3E9E8944-44FF-40BB-A622-3A4A7DD0F198}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 53 {3E9E8944-44FF-40BB-A622-3A4A7DD0F198}.Debug|Any CPU.Build.0 = Debug|Any CPU 54 {3E9E8944-44FF-40BB-A622-3A4A7DD0F198}.Debug|x64.ActiveCfg = Debug|x64 55 {3E9E8944-44FF-40BB-A622-3A4A7DD0F198}.Debug|x64.Build.0 = Debug|x64 56 {3E9E8944-44FF-40BB-A622-3A4A7DD0F198}.Debug|x86.ActiveCfg = Debug|x86 57 {3E9E8944-44FF-40BB-A622-3A4A7DD0F198}.Debug|x86.Build.0 = Debug|x86 58 {3E9E8944-44FF-40BB-A622-3A4A7DD0F198}.Release|Any CPU.ActiveCfg = Release|Any CPU 59 {3E9E8944-44FF-40BB-A622-3A4A7DD0F198}.Release|Any CPU.Build.0 = Release|Any CPU 60 {3E9E8944-44FF-40BB-A622-3A4A7DD0F198}.Release|x64.ActiveCfg = Release|x64 61 {3E9E8944-44FF-40BB-A622-3A4A7DD0F198}.Release|x64.Build.0 = Release|x64 62 {3E9E8944-44FF-40BB-A622-3A4A7DD0F198}.Release|x86.ActiveCfg = Release|x86 63 {3E9E8944-44FF-40BB-A622-3A4A7DD0F198}.Release|x86.Build.0 = Release|x86 64 {A2330DB0-413D-4424-B4E6-591118E2B9F8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 65 {A2330DB0-413D-4424-B4E6-591118E2B9F8}.Debug|Any CPU.Build.0 = Debug|Any CPU 66 {A2330DB0-413D-4424-B4E6-591118E2B9F8}.Debug|x64.ActiveCfg = Debug|x64 67 {A2330DB0-413D-4424-B4E6-591118E2B9F8}.Debug|x64.Build.0 = Debug|x64 68 {A2330DB0-413D-4424-B4E6-591118E2B9F8}.Debug|x86.ActiveCfg = Debug|x86 69 {A2330DB0-413D-4424-B4E6-591118E2B9F8}.Debug|x86.Build.0 = Debug|x86 70 {A2330DB0-413D-4424-B4E6-591118E2B9F8}.Release|Any CPU.ActiveCfg = Release|Any CPU 71 {A2330DB0-413D-4424-B4E6-591118E2B9F8}.Release|Any CPU.Build.0 = Release|Any CPU 72 {A2330DB0-413D-4424-B4E6-591118E2B9F8}.Release|x64.ActiveCfg = Release|x64 73 {A2330DB0-413D-4424-B4E6-591118E2B9F8}.Release|x64.Build.0 = Release|x64 74 {A2330DB0-413D-4424-B4E6-591118E2B9F8}.Release|x86.ActiveCfg = Release|x86 75 {A2330DB0-413D-4424-B4E6-591118E2B9F8}.Release|x86.Build.0 = Release|x86 48 76 EndGlobalSection 49 77 GlobalSection(SolutionProperties) = preSolution -
branches/ClassificationModelComparison/HeuristicLab.Algorithms.DataAnalysis.Views/3.4/HeuristicLab.Algorithms.DataAnalysis.Views-3.4.csproj
r8609 r9119 20 20 <DebugType>full</DebugType> 21 21 <Optimize>false</Optimize> 22 <OutputPath> $(SolutionDir)\bin\</OutputPath>22 <OutputPath>..\..\..\..\trunk\sources\bin\</OutputPath> 23 23 <DefineConstants>DEBUG;TRACE</DefineConstants> 24 24 <ErrorReport>prompt</ErrorReport> … … 28 28 <DebugType>pdbonly</DebugType> 29 29 <Optimize>true</Optimize> 30 <OutputPath> $(SolutionDir)\bin\</OutputPath>30 <OutputPath>..\..\..\..\trunk\sources\bin\</OutputPath> 31 31 <DefineConstants>TRACE</DefineConstants> 32 32 <ErrorReport>prompt</ErrorReport> … … 41 41 <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'"> 42 42 <DebugSymbols>true</DebugSymbols> 43 <OutputPath> $(SolutionDir)\bin\</OutputPath>43 <OutputPath>..\..\..\..\trunk\sources\bin\</OutputPath> 44 44 <DefineConstants>DEBUG;TRACE</DefineConstants> 45 45 <DebugType>full</DebugType> … … 56 56 </PropertyGroup> 57 57 <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'"> 58 <OutputPath> $(SolutionDir)\bin\</OutputPath>58 <OutputPath>..\..\..\..\trunk\sources\bin\</OutputPath> 59 59 <DefineConstants>TRACE</DefineConstants> 60 60 <Optimize>true</Optimize> … … 73 73 <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'"> 74 74 <DebugSymbols>true</DebugSymbols> 75 <OutputPath> $(SolutionDir)\bin\</OutputPath>75 <OutputPath>..\..\..\..\trunk\sources\bin\</OutputPath> 76 76 <DefineConstants>DEBUG;TRACE</DefineConstants> 77 77 <DebugType>full</DebugType> … … 88 88 </PropertyGroup> 89 89 <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'"> 90 <OutputPath> $(SolutionDir)\bin\</OutputPath>90 <OutputPath>..\..\..\..\trunk\sources\bin\</OutputPath> 91 91 <DefineConstants>TRACE</DefineConstants> 92 92 <Optimize>true</Optimize> … … 104 104 </PropertyGroup> 105 105 <ItemGroup> 106 <Reference Include="HeuristicLab.Analysis-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL" /> 107 <Reference Include="HeuristicLab.Collections-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL" /> 108 <Reference Include="HeuristicLab.Common-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL" /> 109 <Reference Include="HeuristicLab.Common.Resources-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL" /> 110 <Reference Include="HeuristicLab.Core-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL" /> 111 <Reference Include="HeuristicLab.Core.Views-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL" /> 112 <Reference Include="HeuristicLab.Data-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL" /> 113 <Reference Include="HeuristicLab.Data.Views-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL" /> 114 <Reference Include="HeuristicLab.MainForm-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL" /> 115 <Reference Include="HeuristicLab.MainForm.WindowsForms-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL" /> 116 <Reference Include="HeuristicLab.Optimization-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL" /> 117 <Reference Include="HeuristicLab.Optimization.Views-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL" /> 118 <Reference Include="HeuristicLab.PluginInfrastructure-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL" /> 119 <Reference Include="HeuristicLab.Visualization.ChartControlsExtensions-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL" /> 106 120 <Reference Include="LibSVM-3.12, Version=3.12.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 107 121 <HintPath>..\..\bin\LibSVM-3.12.dll</HintPath> … … 161 175 <DependentUpon>NcaDimensionReductionView.cs</DependentUpon> 162 176 </Compile> 177 <Compile Include="OneRClassificationModelView.cs"> 178 <SubType>UserControl</SubType> 179 </Compile> 180 <Compile Include="OneRClassificationModelView.Designer.cs"> 181 <DependentUpon>OneRClassificationModelView.cs</DependentUpon> 182 </Compile> 163 183 <Compile Include="Plugin.cs" /> 164 184 <Compile Include="GaussianProcessRegressionSolutionLineChartView.cs"> … … 197 217 <Project>{2E782078-FA81-4B70-B56F-74CE38DAC6C8}</Project> 198 218 <Name>HeuristicLab.Algorithms.DataAnalysis-3.4</Name> 199 <Private>False</Private>200 </ProjectReference>201 <ProjectReference Include="..\..\HeuristicLab.Analysis\3.3\HeuristicLab.Analysis-3.3.csproj">202 <Project>{887425B4-4348-49ED-A457-B7D2C26DDBF9}</Project>203 <Name>HeuristicLab.Analysis-3.3</Name>204 <Private>False</Private>205 </ProjectReference>206 <ProjectReference Include="..\..\HeuristicLab.Collections\3.3\HeuristicLab.Collections-3.3.csproj">207 <Project>{958B43BC-CC5C-4FA2-8628-2B3B01D890B6}</Project>208 <Name>HeuristicLab.Collections-3.3</Name>209 <Private>False</Private>210 </ProjectReference>211 <ProjectReference Include="..\..\HeuristicLab.Common.Resources\3.3\HeuristicLab.Common.Resources-3.3.csproj">212 <Project>{0E27A536-1C4A-4624-A65E-DC4F4F23E3E1}</Project>213 <Name>HeuristicLab.Common.Resources-3.3</Name>214 <Private>False</Private>215 </ProjectReference>216 <ProjectReference Include="..\..\HeuristicLab.Common\3.3\HeuristicLab.Common-3.3.csproj">217 <Project>{A9AD58B9-3EF9-4CC1-97E5-8D909039FF5C}</Project>218 <Name>HeuristicLab.Common-3.3</Name>219 <Private>False</Private>220 </ProjectReference>221 <ProjectReference Include="..\..\HeuristicLab.Core.Views\3.3\HeuristicLab.Core.Views-3.3.csproj">222 <Project>{E226881D-315F-423D-B419-A766FE0D8685}</Project>223 <Name>HeuristicLab.Core.Views-3.3</Name>224 <Private>False</Private>225 </ProjectReference>226 <ProjectReference Include="..\..\HeuristicLab.Core\3.3\HeuristicLab.Core-3.3.csproj">227 <Project>{C36BD924-A541-4A00-AFA8-41701378DDC5}</Project>228 <Name>HeuristicLab.Core-3.3</Name>229 <Private>False</Private>230 </ProjectReference>231 <ProjectReference Include="..\..\HeuristicLab.Data.Views\3.3\HeuristicLab.Data.Views-3.3.csproj">232 <Project>{72104A0B-90E7-42F3-9ABE-9BBBADD4B943}</Project>233 <Name>HeuristicLab.Data.Views-3.3</Name>234 <Private>False</Private>235 </ProjectReference>236 <ProjectReference Include="..\..\HeuristicLab.Data\3.3\HeuristicLab.Data-3.3.csproj">237 <Project>{BBAB9DF5-5EF3-4BA8-ADE9-B36E82114937}</Project>238 <Name>HeuristicLab.Data-3.3</Name>239 <Private>False</Private>240 </ProjectReference>241 <ProjectReference Include="..\..\HeuristicLab.MainForm.WindowsForms\3.3\HeuristicLab.MainForm.WindowsForms-3.3.csproj">242 <Project>{AB687BBE-1BFE-476B-906D-44237135431D}</Project>243 <Name>HeuristicLab.MainForm.WindowsForms-3.3</Name>244 <Private>False</Private>245 </ProjectReference>246 <ProjectReference Include="..\..\HeuristicLab.MainForm\3.3\HeuristicLab.MainForm-3.3.csproj">247 <Project>{3BD61258-31DA-4B09-89C0-4F71FEF5F05A}</Project>248 <Name>HeuristicLab.MainForm-3.3</Name>249 <Private>False</Private>250 </ProjectReference>251 <ProjectReference Include="..\..\HeuristicLab.Optimization.Views\3.3\HeuristicLab.Optimization.Views-3.3.csproj">252 <Project>{662B4B15-8F4D-4AE5-B3EB-D91C215F5AF2}</Project>253 <Name>HeuristicLab.Optimization.Views-3.3</Name>254 <Private>False</Private>255 </ProjectReference>256 <ProjectReference Include="..\..\HeuristicLab.Optimization\3.3\HeuristicLab.Optimization-3.3.csproj">257 <Project>{14AB8D24-25BC-400C-A846-4627AA945192}</Project>258 <Name>HeuristicLab.Optimization-3.3</Name>259 <Private>False</Private>260 </ProjectReference>261 <ProjectReference Include="..\..\HeuristicLab.PluginInfrastructure\3.3\HeuristicLab.PluginInfrastructure-3.3.csproj">262 <Project>{94186A6A-5176-4402-AE83-886557B53CCA}</Project>263 <Name>HeuristicLab.PluginInfrastructure-3.3</Name>264 219 <Private>False</Private> 265 220 </ProjectReference> … … 272 227 <Project>{DF87C13E-A889-46FF-8153-66DCAA8C5674}</Project> 273 228 <Name>HeuristicLab.Problems.DataAnalysis-3.4</Name> 274 <Private>False</Private>275 </ProjectReference>276 <ProjectReference Include="..\..\HeuristicLab.Visualization.ChartControlsExtensions\3.3\HeuristicLab.Visualization.ChartControlsExtensions-3.3.csproj">277 <Project>{315BDA09-3F4F-49B3-9790-B37CFC1C5750}</Project>278 <Name>HeuristicLab.Visualization.ChartControlsExtensions-3.3</Name>279 229 <Private>False</Private> 280 230 </ProjectReference> -
branches/ClassificationModelComparison/HeuristicLab.Algorithms.DataAnalysis/3.4/Linear/OneR.cs
r9074 r9119 95 95 double curSplit = Double.NegativeInfinity; 96 96 Dictionary<double, double> splits = new Dictionary<double, double>(); 97 int curBucketSize = 0;97 bool newBucket = true; 98 98 bool done = false; 99 for (int curRow = 0; curRow < inputVariableValues.Length; curRow++) { 100 if (curBucketSize < minBucketSize) { 101 curSplit = inputVariableValues[curRow]; 102 classCount[classValuesInDataset[curRow]] += 1; 103 curBucketSize++; 104 continue; 105 } 99 int curRow = 0; 100 while (curRow < inputVariableValues.Length) { 101 if (newBucket) { 102 for (int i = 0; i < minBucketSize && curRow + i < inputVariableValues.Length; i++) { 103 classCount[classValuesInDataset[curRow + i]] += 1; 104 } 105 curRow += minBucketSize; 106 if (curRow >= inputVariableValues.Length) { 107 break; 108 } 109 curSplit = inputVariableValues[curRow]; 110 curRow = SetCurRowCorrectly(curRow, inputVariableValues, classValuesInDataset, classCount, curSplit); 111 newBucket = false; 112 } 113 106 114 107 115 if (ExistsDominatingClass(classCount, out dominatingClass)) { 108 int i = 1; 109 while (curRow + i < classValuesInDataset.Length 110 && classValuesInDataset[curRow + i] == dominatingClass) { 111 curSplit = inputVariableValues[curRow + i]; 112 classCount[classValuesInDataset[curRow]] += 1; 113 i++; 116 while (curRow + 1 < classValuesInDataset.Length && 117 IsNextSplitStillDominationClass(curRow, inputVariableValues, classValuesInDataset, curSplit, dominatingClass)) { 118 // curRow + i < classValuesInDataset.Length && classValuesInDataset[curRow + i] == dominatingClass) { 119 curSplit = inputVariableValues[curRow + 1]; 120 classCount[classValuesInDataset[curRow + 1]] += 1; 121 curRow++; 122 curRow = SetCurRowCorrectly(curRow, inputVariableValues, classValuesInDataset, classCount, curSplit); 114 123 } 115 124 116 125 curCorrectClassified += classCount[dominatingClass]; 117 done = curRow + i >= inputVariableValues.Length;126 done = curRow >= inputVariableValues.Length - 1; 118 127 119 128 if (done) { … … 123 132 } 124 133 134 curRow++; 125 135 //intervals exclude end 126 curSplit = inputVariableValues[curRow + i];136 curSplit = inputVariableValues[curRow]; 127 137 splits.Add(curSplit, dominatingClass); 128 138 129 //intervals exclude start130 curSplit = inputVariableValues[curRow + i - 1];139 //intervals include start 140 curSplit = inputVariableValues[curRow]; 131 141 classCount = PrepareClassCountDictionary(classValues); 132 curBucketSize = 0; 133 curRow += i - 1; 134 142 newBucket = true; 135 143 } else { 136 144 curSplit = inputVariableValues[curRow]; 137 145 classCount[classValuesInDataset[curRow]] += 1; 138 cur BucketSize++;146 curRow = SetCurRowCorrectly(curRow, inputVariableValues, classValuesInDataset, classCount, curSplit); 139 147 } 140 148 } … … 173 181 174 182 return solution; 183 } 184 185 private static bool IsNextSplitStillDominationClass(int curRow, double[] inputVariableValues, double[] classValuesInDataset, double curSplit, double dominatingClass) { 186 if (curRow >= classValuesInDataset.Length) { 187 return false; 188 } 189 double nextSplit = inputVariableValues[curRow + 1]; 190 int i = 1; 191 while (curRow + i < classValuesInDataset.Length 192 && inputVariableValues[curRow + i] == nextSplit 193 && classValuesInDataset[curRow + i] == dominatingClass) { 194 i++; 195 } 196 if (curRow + i >= classValuesInDataset.Length) { 197 return true; 198 } 199 if (inputVariableValues[curRow + i] != nextSplit) { 200 return true; 201 } 202 // the next split would also contain values of a class which 203 // is not dominating (classValuesInDataset[curRow + i] != dominatingClass) 204 return false; 205 } 206 207 private static int SetCurRowCorrectly(int curRow, double[] inputVariableValues, double[] classValuesInDataset, Dictionary<double, int> classCount, double curSplit) { 208 while (curRow + 1 < inputVariableValues.Length && inputVariableValues[curRow + 1] == curSplit) { 209 curRow++; 210 classCount[classValuesInDataset[curRow]] += 1; 211 } 212 return curRow; 175 213 } 176 214 -
branches/ClassificationModelComparison/HeuristicLab.Algorithms.DataAnalysis/3.4/Linear/OneR/OneRClassificationModel.cs
r9074 r9119 29 29 30 30 namespace HeuristicLab.Algorithms.DataAnalysis { 31 [StorableClass] 32 [Item("1R Classification Model", "A model that uses intervals for one variable to determine the class.")] 31 33 public class OneRClassificationModel : NamedItem, IClassificationModel { 32 34 [Storable] … … 52 54 protected OneRClassificationModel(OneRClassificationModel original, Cloner cloner) 53 55 : base(original, cloner) { 54 this.splits = original.splits; 56 this.variable = (string)original.variable; 57 this.splits = (double[])original.splits.Clone(); 58 this.classes = (double[])original.classes.Clone(); 55 59 } 56 60 public override IDeepCloneable Clone(Cloner cloner) { return new OneRClassificationModel(this, cloner); } … … 58 62 public OneRClassificationModel(string variable, double[] splits, double[] classes) 59 63 : base() { 64 if (splits.Length != classes.Length) { 65 throw new ArgumentException("Number of splits and classes has to be equal."); 66 } 60 67 if (!Double.IsPositiveInfinity(splits[splits.Length - 1])) { 61 68 throw new ArgumentException("Last split has to be double.PositiveInfinity, so that all values are covered."); -
branches/ClassificationModelComparison/HeuristicLab.Algorithms.DataAnalysis/3.4/Linear/OneR/OneRClassificationSolution.cs
r9074 r9119 21 21 22 22 using HeuristicLab.Common; 23 using HeuristicLab.Core; 23 24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 24 25 using HeuristicLab.Problems.DataAnalysis; 25 26 26 27 namespace HeuristicLab.Algorithms.DataAnalysis { 28 [StorableClass] 29 [Item(Name = "1R Classification Solution", Description = "Represents a 1R classification solution (model + data).")] 27 30 public class OneRClassificationSolution : ClassificationSolution { 28 public new ConstantClassificationModel Model {29 get { return ( ConstantClassificationModel)base.Model; }31 public new OneRClassificationModel Model { 32 get { return (OneRClassificationModel)base.Model; } 30 33 set { base.Model = value; } 31 34 } -
branches/ClassificationModelComparison/HeuristicLab.Problems.DataAnalysis.Views/3.4/Classification/DiscriminantFunctionClassificationSolutionThresholdView.cs
r8868 r9119 46 46 47 47 private Dictionary<double, Series> classValueSeriesMapping; 48 private Random random;48 private System.Random random; 49 49 private bool updateInProgress; 50 50 … … 54 54 55 55 classValueSeriesMapping = new Dictionary<double, Series>(); 56 random = new Random();56 random = new System.Random(); 57 57 updateInProgress = false; 58 58 -
branches/ClassificationModelComparison/HeuristicLab.Problems.DataAnalysis.Views/3.4/HeuristicLab.Problems.DataAnalysis.Views-3.4.csproj
r8880 r9119 41 41 <DebugType>full</DebugType> 42 42 <Optimize>false</Optimize> 43 <OutputPath> $(SolutionDir)\bin\</OutputPath>43 <OutputPath>..\..\..\..\trunk\sources\bin\</OutputPath> 44 44 <DefineConstants>DEBUG;TRACE</DefineConstants> 45 45 <ErrorReport>prompt</ErrorReport> … … 50 50 <DebugType>pdbonly</DebugType> 51 51 <Optimize>true</Optimize> 52 <OutputPath> $(SolutionDir)\bin\</OutputPath>52 <OutputPath>..\..\..\..\trunk\sources\bin\</OutputPath> 53 53 <DefineConstants>TRACE</DefineConstants> 54 54 <ErrorReport>prompt</ErrorReport> … … 58 58 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' "> 59 59 <DebugSymbols>true</DebugSymbols> 60 <OutputPath> $(SolutionDir)\bin\</OutputPath>60 <OutputPath>..\..\..\..\trunk\sources\bin\</OutputPath> 61 61 <DefineConstants>DEBUG;TRACE</DefineConstants> 62 62 <DebugType>full</DebugType> … … 66 66 </PropertyGroup> 67 67 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' "> 68 <OutputPath> $(SolutionDir)\bin\</OutputPath>68 <OutputPath>..\..\..\..\trunk\sources\bin\</OutputPath> 69 69 <DefineConstants>TRACE</DefineConstants> 70 70 <Optimize>true</Optimize> … … 76 76 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> 77 77 <DebugSymbols>true</DebugSymbols> 78 <OutputPath> $(SolutionDir)\bin\</OutputPath>78 <OutputPath>..\..\..\..\trunk\sources\bin\</OutputPath> 79 79 <DefineConstants>DEBUG;TRACE</DefineConstants> 80 80 <DebugType>full</DebugType> … … 84 84 </PropertyGroup> 85 85 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' "> 86 <OutputPath> $(SolutionDir)\bin\</OutputPath>86 <OutputPath>..\..\..\..\trunk\sources\bin\</OutputPath> 87 87 <DefineConstants>TRACE</DefineConstants> 88 88 <Optimize>true</Optimize> … … 93 93 </PropertyGroup> 94 94 <ItemGroup> 95 <Reference Include="ALGLIB-3.6.0, Version=3.6.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 96 <HintPath>..\..\bin\ALGLIB-3.6.0.dll</HintPath> 97 <Private>False</Private> 95 <Reference Include="ALGLIB-3.6.0"> 96 <HintPath>..\..\..\..\trunk\sources\bin\ALGLIB-3.6.0.dll</HintPath> 97 </Reference> 98 <Reference Include="HeuristicLab.Analysis-3.3"> 99 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Analysis-3.3.dll</HintPath> 100 </Reference> 101 <Reference Include="HeuristicLab.Analysis.Views-3.3"> 102 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Analysis.Views-3.3.dll</HintPath> 103 </Reference> 104 <Reference Include="HeuristicLab.Collections-3.3"> 105 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Collections-3.3.dll</HintPath> 106 </Reference> 107 <Reference Include="HeuristicLab.Common-3.3"> 108 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Common-3.3.dll</HintPath> 109 </Reference> 110 <Reference Include="HeuristicLab.Common.Resources-3.3"> 111 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Common.Resources-3.3.dll</HintPath> 112 </Reference> 113 <Reference Include="HeuristicLab.Core-3.3"> 114 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Core-3.3.dll</HintPath> 115 </Reference> 116 <Reference Include="HeuristicLab.Core.Views-3.3"> 117 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Core.Views-3.3.dll</HintPath> 118 </Reference> 119 <Reference Include="HeuristicLab.Data-3.3"> 120 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Data-3.3.dll</HintPath> 121 </Reference> 122 <Reference Include="HeuristicLab.Data.Views-3.3"> 123 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Data.Views-3.3.dll</HintPath> 124 </Reference> 125 <Reference Include="HeuristicLab.MainForm-3.3"> 126 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.MainForm-3.3.dll</HintPath> 127 </Reference> 128 <Reference Include="HeuristicLab.MainForm.WindowsForms-3.3"> 129 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.MainForm.WindowsForms-3.3.dll</HintPath> 130 </Reference> 131 <Reference Include="HeuristicLab.Optimization-3.3"> 132 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Optimization-3.3.dll</HintPath> 133 </Reference> 134 <Reference Include="HeuristicLab.Optimization.Views-3.3"> 135 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Optimization.Views-3.3.dll</HintPath> 136 </Reference> 137 <Reference Include="HeuristicLab.Optimizer-3.3"> 138 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Optimizer-3.3.dll</HintPath> 139 </Reference> 140 <Reference Include="HeuristicLab.Parameters.Views-3.3"> 141 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Parameters.Views-3.3.dll</HintPath> 142 </Reference> 143 <Reference Include="HeuristicLab.Persistence-3.3"> 144 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Persistence-3.3.dll</HintPath> 145 </Reference> 146 <Reference Include="HeuristicLab.PluginInfrastructure-3.3"> 147 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.PluginInfrastructure-3.3.dll</HintPath> 148 </Reference> 149 <Reference Include="HeuristicLab.Random-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL" /> 150 <Reference Include="HeuristicLab.Visualization.ChartControlsExtensions-3.3"> 151 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Visualization.ChartControlsExtensions-3.3.dll</HintPath> 98 152 </Reference> 99 153 <Reference Include="System" /> … … 131 185 <Compile Include="Classification\ClassificationFeatureCorrelationView.Designer.cs"> 132 186 <DependentUpon>ClassificationFeatureCorrelationView.cs</DependentUpon> 187 </Compile> 188 <Compile Include="Classification\ClassificationSolutionComparisonView.cs"> 189 <SubType>UserControl</SubType> 190 </Compile> 191 <Compile Include="Classification\ClassificationSolutionComparisonView.Designer.cs"> 192 <DependentUpon>ClassificationSolutionComparisonView.cs</DependentUpon> 133 193 </Compile> 134 194 <Compile Include="Classification\ClassificationTimeframeFeatureCorrelationView.cs"> … … 356 416 <Name>HeuristicLab.Algorithms.DataAnalysis-3.4</Name> 357 417 </ProjectReference> 358 <ProjectReference Include="..\..\HeuristicLab.Analysis.Views\3.3\HeuristicLab.Analysis.Views-3.3.csproj">359 <Project>{76945D76-CA61-4147-9DC2-0ACDCDDF87F9}</Project>360 <Name>HeuristicLab.Analysis.Views-3.3</Name>361 <Private>False</Private>362 </ProjectReference>363 <ProjectReference Include="..\..\HeuristicLab.Analysis\3.3\HeuristicLab.Analysis-3.3.csproj">364 <Project>{887425B4-4348-49ED-A457-B7D2C26DDBF9}</Project>365 <Name>HeuristicLab.Analysis-3.3</Name>366 <Private>False</Private>367 </ProjectReference>368 <ProjectReference Include="..\..\HeuristicLab.Collections\3.3\HeuristicLab.Collections-3.3.csproj">369 <Project>{958B43BC-CC5C-4FA2-8628-2B3B01D890B6}</Project>370 <Name>HeuristicLab.Collections-3.3</Name>371 <Private>False</Private>372 </ProjectReference>373 <ProjectReference Include="..\..\HeuristicLab.Common.Resources\3.3\HeuristicLab.Common.Resources-3.3.csproj">374 <Project>{0E27A536-1C4A-4624-A65E-DC4F4F23E3E1}</Project>375 <Name>HeuristicLab.Common.Resources-3.3</Name>376 <Private>False</Private>377 </ProjectReference>378 <ProjectReference Include="..\..\HeuristicLab.Common\3.3\HeuristicLab.Common-3.3.csproj">379 <Project>{A9AD58B9-3EF9-4CC1-97E5-8D909039FF5C}</Project>380 <Name>HeuristicLab.Common-3.3</Name>381 <Private>False</Private>382 </ProjectReference>383 <ProjectReference Include="..\..\HeuristicLab.Core.Views\3.3\HeuristicLab.Core.Views-3.3.csproj">384 <Project>{E226881D-315F-423D-B419-A766FE0D8685}</Project>385 <Name>HeuristicLab.Core.Views-3.3</Name>386 <Private>False</Private>387 </ProjectReference>388 <ProjectReference Include="..\..\HeuristicLab.Core\3.3\HeuristicLab.Core-3.3.csproj">389 <Project>{C36BD924-A541-4A00-AFA8-41701378DDC5}</Project>390 <Name>HeuristicLab.Core-3.3</Name>391 <Private>False</Private>392 </ProjectReference>393 <ProjectReference Include="..\..\HeuristicLab.Data.Views\3.3\HeuristicLab.Data.Views-3.3.csproj">394 <Project>{72104A0B-90E7-42F3-9ABE-9BBBADD4B943}</Project>395 <Name>HeuristicLab.Data.Views-3.3</Name>396 <Private>False</Private>397 </ProjectReference>398 <ProjectReference Include="..\..\HeuristicLab.Data\3.3\HeuristicLab.Data-3.3.csproj">399 <Project>{BBAB9DF5-5EF3-4BA8-ADE9-B36E82114937}</Project>400 <Name>HeuristicLab.Data-3.3</Name>401 <Private>False</Private>402 </ProjectReference>403 <ProjectReference Include="..\..\HeuristicLab.MainForm.WindowsForms\3.3\HeuristicLab.MainForm.WindowsForms-3.3.csproj">404 <Project>{AB687BBE-1BFE-476B-906D-44237135431D}</Project>405 <Name>HeuristicLab.MainForm.WindowsForms-3.3</Name>406 <Private>False</Private>407 </ProjectReference>408 <ProjectReference Include="..\..\HeuristicLab.MainForm\3.3\HeuristicLab.MainForm-3.3.csproj">409 <Project>{3BD61258-31DA-4B09-89C0-4F71FEF5F05A}</Project>410 <Name>HeuristicLab.MainForm-3.3</Name>411 <Private>False</Private>412 </ProjectReference>413 <ProjectReference Include="..\..\HeuristicLab.Optimization.Views\3.3\HeuristicLab.Optimization.Views-3.3.csproj">414 <Project>{662B4B15-8F4D-4AE5-B3EB-D91C215F5AF2}</Project>415 <Name>HeuristicLab.Optimization.Views-3.3</Name>416 <Private>False</Private>417 </ProjectReference>418 <ProjectReference Include="..\..\HeuristicLab.Optimization\3.3\HeuristicLab.Optimization-3.3.csproj">419 <Project>{14AB8D24-25BC-400C-A846-4627AA945192}</Project>420 <Name>HeuristicLab.Optimization-3.3</Name>421 <Private>False</Private>422 </ProjectReference>423 <ProjectReference Include="..\..\HeuristicLab.Optimizer\3.3\HeuristicLab.Optimizer-3.3.csproj">424 <Project>{C664305E-497C-4533-A140-967DEDB05C19}</Project>425 <Name>HeuristicLab.Optimizer-3.3</Name>426 <Private>False</Private>427 </ProjectReference>428 <ProjectReference Include="..\..\HeuristicLab.Parameters.Views\3.3\HeuristicLab.Parameters.Views-3.3.csproj">429 <Project>{AE5B1CE5-9862-4D6F-A700-D72CD9AEA295}</Project>430 <Name>HeuristicLab.Parameters.Views-3.3</Name>431 <Private>False</Private>432 </ProjectReference>433 <ProjectReference Include="..\..\HeuristicLab.Persistence\3.3\HeuristicLab.Persistence-3.3.csproj">434 <Project>{102BC7D3-0EF9-439C-8F6D-96FF0FDB8E1B}</Project>435 <Name>HeuristicLab.Persistence-3.3</Name>436 <Private>False</Private>437 </ProjectReference>438 <ProjectReference Include="..\..\HeuristicLab.PluginInfrastructure\3.3\HeuristicLab.PluginInfrastructure-3.3.csproj">439 <Project>{94186A6A-5176-4402-AE83-886557B53CCA}</Project>440 <Name>HeuristicLab.PluginInfrastructure-3.3</Name>441 <Private>False</Private>442 </ProjectReference>443 418 <ProjectReference Include="..\..\HeuristicLab.Problems.DataAnalysis\3.4\HeuristicLab.Problems.DataAnalysis-3.4.csproj"> 444 419 <Project>{DF87C13E-A889-46FF-8153-66DCAA8C5674}</Project> 445 420 <Name>HeuristicLab.Problems.DataAnalysis-3.4</Name> 446 <Private>False</Private>447 </ProjectReference>448 <ProjectReference Include="..\..\HeuristicLab.Visualization.ChartControlsExtensions\3.3\HeuristicLab.Visualization.ChartControlsExtensions-3.3.csproj">449 <Project>{315BDA09-3F4F-49B3-9790-B37CFC1C5750}</Project>450 <Name>HeuristicLab.Visualization.ChartControlsExtensions-3.3</Name>451 421 <Private>False</Private> 452 422 </ProjectReference> -
branches/ClassificationModelComparison/HeuristicLab.Problems.DataAnalysis/3.4/HeuristicLab.Problems.DataAnalysis-3.4.csproj
r9074 r9119 206 206 <Compile Include="Interfaces\TimeSeriesPrognosis\ITimeSeriesPrognosisSolution.cs" /> 207 207 <Compile Include="OnlineCalculators\AutoCorrelationCalculator.cs" /> 208 <Compile Include="OnlineCalculators\ConfusionMatrixCalculator.cs" /> 208 209 <Compile Include="OnlineCalculators\DependencyCalculator\HoeffdingsDependenceCalculator.cs" /> 209 210 <Compile Include="OnlineCalculators\DependencyCalculator\PearsonsRDependenceCalculator.cs" /> 210 211 <Compile Include="OnlineCalculators\DependencyCalculator\PearsonsRSquaredDependenceCalculator.cs" /> 211 212 <Compile Include="OnlineCalculators\DependencyCalculator\SpearmansRankCorrelationCoefficientCalculator.cs" /> 213 <Compile Include="OnlineCalculators\FOneScoreCalculator.cs" /> 214 <Compile Include="OnlineCalculators\MatthewsCorrelationCoefficientCalculator.cs" /> 212 215 <Compile Include="OnlineCalculators\OnlineBoundedMeanSquaredErrorCalculator.cs" /> 213 216 <Compile Include="OnlineCalculators\OnlineDirectionalSymmetryCalculator.cs" /> -
branches/ClassificationModelComparison/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Classification/ConstantClassificationModel.cs
r9074 r9119 27 27 28 28 namespace HeuristicLab.Problems.DataAnalysis { 29 [StorableClass] 29 30 [Item("Constant Classification Model", "A model that always returns the same constant value regardless of the presented input data.")] 30 31 public class ConstantClassificationModel : NamedItem, IClassificationModel { -
branches/ClassificationModelComparison/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Classification/ConstantClassificationSolution.cs
r9074 r9119 21 21 22 22 using HeuristicLab.Common; 23 using HeuristicLab.Core; 23 24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 24 25 25 26 namespace HeuristicLab.Problems.DataAnalysis { 27 [StorableClass] 28 [Item(Name = "Constant Classification Solution", Description = "Represents a constant classification solution (model + data).")] 26 29 public class ConstantClassificationSolution : ClassificationSolution { 27 30 public new ConstantClassificationModel Model {
Note: See TracChangeset
for help on using the changeset viewer.