DataCanvasIO / HyperTS

A Full-Pipeline Automated Time Series (AutoTS) Analysis Toolkit.
https://hyperts.readthedocs.io
Apache License 2.0
260 stars 27 forks source link

how to use two datasets in hyperts #97

Closed kelvin-ksl closed 1 year ago

kelvin-ksl commented 1 year ago

How to use 2 dataframes in hyperts? I'm trying to use a dataframe for training and another for testing, but I'm having problems. Concatting the dataframes and then splitting is not an option.

zhangxjohn commented 1 year ago

In make_experimanet to create a experiment, then you can feed the training data. After run the experiment, you can predict the test data using the model which are obtained from experiment.run(). The process is similar to 'fit'(for training dataset) and 'predict'(for test dataset) in sklearn. Why do you want to use 2 dataframes? And where should they be used?

kelvin-ksl commented 1 year ago

I am making an algorithm for anomaly detection and want to train it with normal data only and then test it with anomalous data.