Changeset 8857 for trunk/sources/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/TimeSeriesPrognosis
- Timestamp:
- 10/30/12 11:00:55 (12 years ago)
- Location:
- trunk/sources/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/TimeSeriesPrognosis
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/TimeSeriesPrognosis/Models/ConstantTimeSeriesPrognosisModel.cs
r8458 r8857 44 44 45 45 public ITimeSeriesPrognosisSolution CreateTimeSeriesPrognosisSolution(ITimeSeriesPrognosisProblemData problemData) { 46 return new TimeSeriesPrognosisSolution(this, problemData);46 return new TimeSeriesPrognosisSolution(this, new TimeSeriesPrognosisProblemData(problemData)); 47 47 } 48 48 } -
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/TimeSeriesPrognosis/Models/TimeSeriesPrognosisAutoRegressiveModel.cs
r8487 r8857 109 109 110 110 public ITimeSeriesPrognosisSolution CreateTimeSeriesPrognosisSolution(ITimeSeriesPrognosisProblemData problemData) { 111 return new TimeSeriesPrognosisSolution(this, problemData);111 return new TimeSeriesPrognosisSolution(this, new TimeSeriesPrognosisProblemData(problemData)); 112 112 } 113 113 public IRegressionSolution CreateRegressionSolution(IRegressionProblemData problemData) { -
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/TimeSeriesPrognosis/TimeSeriesPrognosisProblemData.cs
r8486 r8857 1595 1595 } 1596 1596 1597 public TimeSeriesPrognosisProblemData(ITimeSeriesPrognosisProblemData timeseriesProblemData) 1598 : this(timeseriesProblemData.Dataset, timeseriesProblemData.AllowedInputVariables, timeseriesProblemData.TargetVariable) { 1599 1600 TestHorizon = timeseriesProblemData.TestHorizon; 1601 TrainingHorizon = timeseriesProblemData.TestHorizon; 1602 } 1603 1597 1604 [StorableHook(HookType.AfterDeserialization)] 1598 1605 private void AfterDeserialization() {
Note: See TracChangeset
for help on using the changeset viewer.