Changeset 4457 for branches/DataAnalysis/HeuristicLab.Problems.DataAnalysis.MultiVariate.TimeSeriesPrognosis/3.3/Symbolic
- Timestamp:
- 09/21/10 10:16:49 (14 years ago)
- Location:
- branches/DataAnalysis/HeuristicLab.Problems.DataAnalysis.MultiVariate.TimeSeriesPrognosis/3.3/Symbolic
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataAnalysis/HeuristicLab.Problems.DataAnalysis.MultiVariate.TimeSeriesPrognosis/3.3/Symbolic/Analyzer/ValidationBestScaledSymbolicTimeSeriesPrognosisSolutionAnalyzer.cs
r4401 r4457 295 295 model.Description = "Best solution on validation partition found over the whole run."; 296 296 297 var solution = new SymbolicTimeSeriesPrognosisSolution(ProblemData, model, PredictionHorizon.Value );297 var solution = new SymbolicTimeSeriesPrognosisSolution(ProblemData, model, PredictionHorizon.Value, conditionalVariableName); 298 298 solution.Name = BestSolutionParameterName; 299 299 solution.Description = "Best solution on validation partition found over the whole run."; -
branches/DataAnalysis/HeuristicLab.Problems.DataAnalysis.MultiVariate.TimeSeriesPrognosis/3.3/Symbolic/SymbolicTimeSeriesPrognosisSolution.cs
r4401 r4457 35 35 [StorableClass] 36 36 [Item("SymbolicTimeSeriesPrognosisSolution", "Represents a solution for time series prognosis.")] 37 public class SymbolicTimeSeriesPrognosisSolution : NamedItem, IMultiVariateDataAnalysisSolution {37 public class SymbolicTimeSeriesPrognosisSolution : NamedItem, IMultiVariateDataAnalysisSolution, IStorableContent { 38 38 [Storable] 39 39 private MultiVariateDataAnalysisProblemData problemData; … … 42 42 [Storable] 43 43 private int horizon; 44 [Storable] 45 private string conditionalEvaluationVariable; 46 47 public string FileName { get; set; } 44 48 45 49 [StorableConstructor] … … 50 54 } 51 55 52 public SymbolicTimeSeriesPrognosisSolution(MultiVariateDataAnalysisProblemData problemData, SymbolicTimeSeriesPrognosisModel model, int horizon )56 public SymbolicTimeSeriesPrognosisSolution(MultiVariateDataAnalysisProblemData problemData, SymbolicTimeSeriesPrognosisModel model, int horizon, string conditionalEvaluationVariable) 53 57 : this() { 54 58 this.problemData = problemData; 55 59 this.model = model; 56 60 this.horizon = horizon; 61 this.conditionalEvaluationVariable = conditionalEvaluationVariable; 57 62 } 58 63 … … 82 87 model = value; 83 88 RaiseModelChanged(); 89 } 90 } 91 } 92 93 public string ConditionalEvaluationVariable { 94 get { return conditionalEvaluationVariable; } 95 set { 96 if (conditionalEvaluationVariable != value) { 97 conditionalEvaluationVariable = value; 98 RaiseEstimatedValuesChanged(); 84 99 } 85 100 } … … 182 197 clone.model = (SymbolicTimeSeriesPrognosisModel)cloner.Clone(model); 183 198 clone.horizon = horizon; 199 clone.conditionalEvaluationVariable = conditionalEvaluationVariable; 184 200 return clone; 185 201 }
Note: See TracChangeset
for help on using the changeset viewer.