Closed JINU8 closed 3 years ago
Hi @JINU8, to use your own data that was already preprocessed, you can use the same tadgan
pipeline that skips the preprocessing steps that you have already accomplished. For example the tadgan
pipeline has the following primitives:
"primitives": [
"mlprimitives.custom.timeseries_preprocessing.time_segments_aggregate",
"sklearn.impute.SimpleImputer",
"sklearn.preprocessing.MinMaxScaler",
"mlprimitives.custom.timeseries_preprocessing.rolling_window_sequences",
"orion.primitives.tadgan.TadGAN",
"orion.primitives.tadgan.score_anomalies",
"orion.primitives.timeseries_anomalies.find_anomalies"
]
Assuming that your series is already equispaced, imputed and scaled, you can remove the first 3 primitives and their settings in the remainder of the tadgan.json
file. The entire file can be found here.
the hyperparameters
referred to in your snippet of code is part of the tulog setup that you can find here. I recommend cloning this repo and going through the blogpost and the accompanying notebook together, you can also change the model settings directly from there to fit your data.
Closing this issue, the question has been answered.
Description
I am trying to train a model using tadGAN, I am referring to your article on medium https://medium.com/mit-data-to-ai-lab/time-series-anomaly-detection-in-the-era-of-deep-learning-f0237902224a. I using my own data, I have prepossessed data. Iam trying use the fit function, but I couldn't import hyperparameters from model. Is there a workaround ?
What I Did
Is there any package that I missed? I had installed orion-ml using pip.