Changeset 8857 for trunk/sources/HeuristicLab.Problems.DataAnalysis
- Timestamp:
- 10/30/12 11:00:55 (12 years ago)
- Location:
- trunk/sources/HeuristicLab.Problems.DataAnalysis/3.4/Implementation
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Classification/DiscriminantFunctionClassificationModel.cs
r8679 r8857 136 136 137 137 public virtual IDiscriminantFunctionClassificationSolution CreateDiscriminantFunctionClassificationSolution(IClassificationProblemData problemData) { 138 return new DiscriminantFunctionClassificationSolution(this, problemData);138 return new DiscriminantFunctionClassificationSolution(this, new ClassificationProblemData(problemData)); 139 139 } 140 140 -
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.