- Timestamp:
- 05/24/12 11:07:05 (13 years ago)
- Location:
- branches/HeuristicLab.TimeSeries/HeuristicLab.Problems.Instances.DataAnalysis/3.3
- Files:
-
- 3 added
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.TimeSeries/HeuristicLab.Problems.Instances.DataAnalysis/3.3/HeuristicLab.Problems.Instances.DataAnalysis-3.3.csproj
r7860 r7890 26 26 <DebugType>pdbonly</DebugType> 27 27 <Optimize>true</Optimize> 28 <OutputPath>..\..\ bin\</OutputPath>28 <OutputPath>..\..\..\..\trunk\sources\bin\</OutputPath> 29 29 <DefineConstants>TRACE</DefineConstants> 30 30 <ErrorReport>prompt</ErrorReport> … … 38 38 </PropertyGroup> 39 39 <ItemGroup> 40 <Reference Include="HeuristicLab.Collections-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 41 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Collections-3.3.dll</HintPath> 42 </Reference> 43 <Reference Include="HeuristicLab.Common-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 44 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Common-3.3.dll</HintPath> 45 </Reference> 46 <Reference Include="HeuristicLab.Core-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 47 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Core-3.3.dll</HintPath> 48 </Reference> 49 <Reference Include="HeuristicLab.Data-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 50 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Data-3.3.dll</HintPath> 51 </Reference> 52 <Reference Include="HeuristicLab.PluginInfrastructure-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 53 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.PluginInfrastructure-3.3.dll</HintPath> 54 </Reference> 55 <Reference Include="HeuristicLab.Problems.Instances-3.3"> 56 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Problems.Instances-3.3.dll</HintPath> 57 </Reference> 58 <Reference Include="HeuristicLab.Random-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 59 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Random-3.3.dll</HintPath> 60 </Reference> 40 61 <Reference Include="ICSharpCode.SharpZipLib, Version=0.85.4.369, Culture=neutral, PublicKeyToken=1b03e6acf1164f73, processorArchitecture=MSIL"> 41 62 <Private>False</Private> … … 129 150 <Compile Include="Regression\Vladislavleva\VladislavlevaInstanceProvider.cs" /> 130 151 <Compile Include="TableFileParser.cs" /> 152 <Compile Include="TimeSeries\CSV\TimeSeriesPrognosisCSVInstanceProvider.cs" /> 153 <Compile Include="TimeSeries\TimeSeriesPrognosisInstanceProvider.cs" /> 131 154 </ItemGroup> 132 155 <ItemGroup> … … 138 161 </ItemGroup> 139 162 <ItemGroup> 140 <ProjectReference Include="..\..\HeuristicLab.Collections\3.3\HeuristicLab.Collections-3.3.csproj">141 <Project>{958B43BC-CC5C-4FA2-8628-2B3B01D890B6}</Project>142 <Name>HeuristicLab.Collections-3.3</Name>143 <Private>False</Private>144 </ProjectReference>145 <ProjectReference Include="..\..\HeuristicLab.Common\3.3\HeuristicLab.Common-3.3.csproj">146 <Project>{A9AD58B9-3EF9-4CC1-97E5-8D909039FF5C}</Project>147 <Name>HeuristicLab.Common-3.3</Name>148 <Private>False</Private>149 </ProjectReference>150 <ProjectReference Include="..\..\HeuristicLab.Core\3.3\HeuristicLab.Core-3.3.csproj">151 <Project>{C36BD924-A541-4A00-AFA8-41701378DDC5}</Project>152 <Name>HeuristicLab.Core-3.3</Name>153 <Private>False</Private>154 </ProjectReference>155 <ProjectReference Include="..\..\HeuristicLab.Data\3.3\HeuristicLab.Data-3.3.csproj">156 <Project>{BBAB9DF5-5EF3-4BA8-ADE9-B36E82114937}</Project>157 <Name>HeuristicLab.Data-3.3</Name>158 <Private>False</Private>159 </ProjectReference>160 <ProjectReference Include="..\..\HeuristicLab.PluginInfrastructure\3.3\HeuristicLab.PluginInfrastructure-3.3.csproj">161 <Project>{94186A6A-5176-4402-AE83-886557B53CCA}</Project>162 <Name>HeuristicLab.PluginInfrastructure-3.3</Name>163 <Private>False</Private>164 </ProjectReference>165 163 <ProjectReference Include="..\..\HeuristicLab.Problems.DataAnalysis\3.4\HeuristicLab.Problems.DataAnalysis-3.4.csproj"> 166 164 <Project>{DF87C13E-A889-46FF-8153-66DCAA8C5674}</Project> 167 165 <Name>HeuristicLab.Problems.DataAnalysis-3.4</Name> 168 <Private>False</Private>169 </ProjectReference>170 <ProjectReference Include="..\..\HeuristicLab.Problems.Instances\3.3\HeuristicLab.Problems.Instances-3.3.csproj">171 <Project>{3540E29E-4793-49E7-8EE2-FEA7F61C3994}</Project>172 <Name>HeuristicLab.Problems.Instances-3.3</Name>173 <Private>False</Private>174 </ProjectReference>175 <ProjectReference Include="..\..\HeuristicLab.Random\3.3\HeuristicLab.Random-3.3.csproj">176 <Project>{F4539FB6-4708-40C9-BE64-0A1390AEA197}</Project>177 <Name>HeuristicLab.Random-3.3</Name>178 166 <Private>False</Private> 179 167 </ProjectReference> -
branches/HeuristicLab.TimeSeries/HeuristicLab.Problems.Instances.DataAnalysis/3.3/TimeSeries/TimeSeriesPrognosisInstanceProvider.cs
r7889 r7890 29 29 30 30 namespace HeuristicLab.Problems.Instances.DataAnalysis { 31 public abstract class RegressionInstanceProvider : IProblemInstanceProvider<IRegressionProblemData> {31 public abstract class TimeSeriesPrognosisInstanceProvider : IProblemInstanceProvider<ITimeSeriesPrognosisProblemData> { 32 32 33 public I RegressionProblemData LoadData(string path) {33 public ITimeSeriesPrognosisProblemData LoadData(string path) { 34 34 TableFileParser csvFileParser = new TableFileParser(); 35 35 csvFileParser.Parse(path); … … 40 40 IEnumerable<string> allowedInputVars = csvFileParser.VariableNames.Where(x => !x.Equals(targetVar)); 41 41 42 I RegressionProblemData regData = new RegressionProblemData(dataset, allowedInputVars, targetVar);42 ITimeSeriesPrognosisProblemData regData = new TimeSeriesPrognosisProblemData(dataset, allowedInputVars, new List<string> { targetVar }); 43 43 44 44 int trainingPartEnd = csvFileParser.Rows * 2 / 3; … … 58 58 } 59 59 60 public void SaveData(I RegressionProblemData instance, string path) {60 public void SaveData(ITimeSeriesPrognosisProblemData instance, string path) { 61 61 StringBuilder strBuilder = new StringBuilder(); 62 62 … … 83 83 84 84 public abstract IEnumerable<IDataDescriptor> GetDataDescriptors(); 85 public abstract I RegressionProblemData LoadData(IDataDescriptor descriptor);85 public abstract ITimeSeriesPrognosisProblemData LoadData(IDataDescriptor descriptor); 86 86 87 87 public abstract string Name { get; }
Note: See TracChangeset
for help on using the changeset viewer.