- Timestamp:
- 12/21/18 09:33:30 (6 years ago)
- Location:
- branches/2971_named_intervals
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2971_named_intervals/HeuristicLab.Data.Views/3.3/HeuristicLab.Data.Views-3.3.csproj
r16413 r16426 117 117 <HintPath>..\..\..\..\trunk\bin\HeuristicLab.Core.Views-3.3.dll</HintPath> 118 118 </Reference> 119 <Reference Include="HeuristicLab.Data-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 120 <SpecificVersion>False</SpecificVersion> 121 <HintPath>..\..\..\..\trunk\bin\HeuristicLab.Data-3.3.dll</HintPath> 122 </Reference> 119 123 <Reference Include="HeuristicLab.Data.Views-3.3"> 120 124 <HintPath>..\..\..\..\trunk\bin\HeuristicLab.Data.Views-3.3.dll</HintPath> … … 261 265 <None Include="HeuristicLab.snk" /> 262 266 <None Include="Properties\AssemblyInfo.cs.frame" /> 263 </ItemGroup>264 <ItemGroup>265 <ProjectReference Include="..\..\HeuristicLab.Data\3.3\HeuristicLab.Data-3.3.csproj">266 <Project>{BBAB9DF5-5EF3-4BA8-ADE9-B36E82114937}</Project>267 <Name>HeuristicLab.Data-3.3</Name>268 <Private>False</Private>269 </ProjectReference>270 267 </ItemGroup> 271 268 <ItemGroup> -
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/HeuristicLab.Problems.DataAnalysis-3.4.csproj
r16412 r16426 114 114 <HintPath>..\..\..\..\trunk\bin\HeuristicLab.Core-3.3.dll</HintPath> 115 115 </Reference> 116 <Reference Include="HeuristicLab.Data-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 117 <SpecificVersion>False</SpecificVersion> 118 <HintPath>..\..\..\..\trunk\bin\HeuristicLab.Data-3.3.dll</HintPath> 119 </Reference> 116 120 <Reference Include="HeuristicLab.Optimization-3.3"> 117 121 <HintPath>..\..\..\..\trunk\bin\HeuristicLab.Optimization-3.3.dll</HintPath> … … 170 174 <Compile Include="Implementation\DataAnalysisModel.cs" /> 171 175 <Compile Include="Implementation\Interval.cs" /> 176 <Compile Include="Implementation\NamedIntervals.cs" /> 172 177 <Compile Include="Implementation\Regression\ConfidenceBoundRegressionSolution.cs" /> 173 178 <Compile Include="Implementation\Regression\ConstantRegressionModel.cs" /> … … 301 306 </BootstrapperPackage> 302 307 </ItemGroup> 303 <ItemGroup>304 <ProjectReference Include="..\..\HeuristicLab.Data\3.3\HeuristicLab.Data-3.3.csproj">305 <Project>{BBAB9DF5-5EF3-4BA8-ADE9-B36E82114937}</Project>306 <Name>HeuristicLab.Data-3.3</Name>307 <Private>False</Private>308 </ProjectReference>309 </ItemGroup>310 308 <ItemGroup /> 311 309 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> -
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/RegressionProblemData.cs
r16413 r16426 28 28 using HeuristicLab.Parameters; 29 29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 30 using HeuristicLab.Problems.DataAnalysis.Implementation; 30 31 31 32 namespace HeuristicLab.Problems.DataAnalysis { … … 92 93 problemData.Parameters.Add(new FixedValueParameter<IntRange>(TestPartitionParameterName, "", (IntRange)new IntRange(0, 0).AsReadOnly())); 93 94 problemData.Parameters.Add(new ConstrainedValueParameter<StringValue>(TargetVariableParameterName, new ItemSet<StringValue>())); 94 problemData.Parameters.Add(new FixedValueParameter< VariableRanges>(VariableRangesParameterName, new VariableRanges()));95 problemData.Parameters.Add(new FixedValueParameter<NamedIntervals>(VariableRangesParameterName, new NamedIntervals())); 95 96 emptyProblemData = problemData; 96 97 } … … 101 102 } 102 103 103 public IFixedValueParameter< VariableRanges> VariableRangesParameter {104 get { return (IFixedValueParameter< VariableRanges>)Parameters[VariableRangesParameterName]; }104 public IFixedValueParameter<NamedIntervals> VariableRangesParameter { 105 get { return (IFixedValueParameter<NamedIntervals>)Parameters[VariableRangesParameterName]; } 105 106 } 106 107 … … 159 160 var variables = InputVariables.Select(x => x.AsReadOnly()).ToList(); 160 161 Parameters.Add(new ConstrainedValueParameter<StringValue>(TargetVariableParameterName, new ItemSet<StringValue>(variables), variables.Where(x => x.Value == targetVariable).First())); 161 Parameters.Add(new FixedValueParameter<VariableRanges>(VariableRangesParameterName, new VariableRanges())); 162 163 NamedIntervals namedIntervals = new NamedIntervals(); 164 foreach (var variable in variables) { 165 var variableInteval = Interval.GetInterval(dataset.GetDoubleValues(variable.Value)); 166 namedIntervals.Add(variable.Value, variableInteval); 167 } 168 169 Parameters.Add(new FixedValueParameter<NamedIntervals>(VariableRangesParameterName, namedIntervals)); 162 170 RegisterParameterEvents(); 163 171 } -
branches/2971_named_intervals/NamedIntervals.sln
r16412 r16426 8 8 {72104A0B-90E7-42F3-9ABE-9BBBADD4B943} = {72104A0B-90E7-42F3-9ABE-9BBBADD4B943} 9 9 EndProjectSection 10 EndProject11 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.Data-3.3", "HeuristicLab.Data\3.3\HeuristicLab.Data-3.3.csproj", "{BBAB9DF5-5EF3-4BA8-ADE9-B36E82114937}"12 10 EndProject 13 11 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.Data.Views-3.3", "HeuristicLab.Data.Views\3.3\HeuristicLab.Data.Views-3.3.csproj", "{72104A0B-90E7-42F3-9ABE-9BBBADD4B943}" … … 44 42 {DF87C13E-A889-46FF-8153-66DCAA8C5674}.Release|x86.ActiveCfg = Release|x86 45 43 {DF87C13E-A889-46FF-8153-66DCAA8C5674}.Release|x86.Build.0 = Release|x86 46 {BBAB9DF5-5EF3-4BA8-ADE9-B36E82114937}.Debug|Any CPU.ActiveCfg = Debug|Any CPU47 {BBAB9DF5-5EF3-4BA8-ADE9-B36E82114937}.Debug|Any CPU.Build.0 = Debug|Any CPU48 {BBAB9DF5-5EF3-4BA8-ADE9-B36E82114937}.Debug|x64.ActiveCfg = Debug|x6449 {BBAB9DF5-5EF3-4BA8-ADE9-B36E82114937}.Debug|x64.Build.0 = Debug|x6450 {BBAB9DF5-5EF3-4BA8-ADE9-B36E82114937}.Debug|x86.ActiveCfg = Debug|x8651 {BBAB9DF5-5EF3-4BA8-ADE9-B36E82114937}.Debug|x86.Build.0 = Debug|x8652 {BBAB9DF5-5EF3-4BA8-ADE9-B36E82114937}.Release|Any CPU.ActiveCfg = Release|Any CPU53 {BBAB9DF5-5EF3-4BA8-ADE9-B36E82114937}.Release|Any CPU.Build.0 = Release|Any CPU54 {BBAB9DF5-5EF3-4BA8-ADE9-B36E82114937}.Release|x64.ActiveCfg = Release|x6455 {BBAB9DF5-5EF3-4BA8-ADE9-B36E82114937}.Release|x64.Build.0 = Release|x6456 {BBAB9DF5-5EF3-4BA8-ADE9-B36E82114937}.Release|x86.ActiveCfg = Release|x8657 {BBAB9DF5-5EF3-4BA8-ADE9-B36E82114937}.Release|x86.Build.0 = Release|x8658 44 {72104A0B-90E7-42F3-9ABE-9BBBADD4B943}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 59 45 {72104A0B-90E7-42F3-9ABE-9BBBADD4B943}.Debug|Any CPU.Build.0 = Debug|Any CPU
Note: See TracChangeset
for help on using the changeset viewer.