sintel-dev / Orion

Library for detecting anomalies in signals
https://sintel.dev/Orion/
MIT License
1.05k stars 163 forks source link

inverse transform for the predicted/reconstructed values #111

Open dyuliu opened 4 years ago

dyuliu commented 4 years ago

image

So far, the pipeline will apply a series preprocessing strategies on the raw data to make it ready for ML model.

However, there is a need to observe the predicted/reconstructed values in the original feature space instead of transformed feature space.

Suggestion:

dyuliu commented 4 years ago

Message from @csala:

So far MLPrimitives support functions to reverse the transform: https://github.com/HDI-Project/MLPrimitives/blob/c5208e7bc0f6b8d6afe3aab7bdc0b214bae56f11/mlprimitives/custom/preprocessing.py#L33

Its example usage: https://github.com/HDI-Project/MLPrimitives/blob/reorganize-pipelines/mlprimitives/pipelines/timeseries/forecasting/impute.scale.lstm.json

The only thing here is that this one is a very specific transformation, for min/max scaling, but for other transformations we will not have this architecture ready yet.