Changeset 15884 for branches/2906_Transformations/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/TimeSeriesPrognosis
- Timestamp:
- 04/04/18 17:18:02 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2906_Transformations/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/TimeSeriesPrognosis/Models/TimeSeriesPrognosisTransformationModel.cs
r15870 r15884 53 53 #endregion 54 54 55 55 56 public IEnumerable<IEnumerable<double>> GetPrognosedValues(IDataset dataset, IEnumerable<int> rows, IEnumerable<int> horizons) { 56 var estimates = OriginalModel.GetPrognosedValues(Transform(dataset, InputTransformations), rows, horizons); 57 return estimates.Select(x => InverseTransform(x, TargetTransformations, TargetVariable)); // TODO: transform the whole horizon? 57 var transformedInput = DataAnalysisTransformation.Transform(dataset, InputTransformations); 58 var estimates = OriginalModel.GetPrognosedValues(transformedInput, rows, horizons); 59 return estimates.Select(x => InverseTransform(x, TargetTransformations)); 58 60 } 59 61
Note: See TracChangeset
for help on using the changeset viewer.