Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Questions about real time predictions from an incoming stream of data. #36

Open
rajdeep-biswas opened this issue Jul 14, 2021 · 2 comments

Comments

@rajdeep-biswas
Copy link

The way the following usage has been covered (from the documentation), it is only possible to use detect() for detecting anomalies within the time series that it has been trained with. How do we save a trained model and pass new incoming data to the detector?

def detect_anomaly(series, threshold, mag_window, score_window, sensitivity, detect_mode, batch_size):
    detector = SpectralResidual(series=series, threshold=threshold, mag_window=mag_window, score_window=score_window,
                                sensitivity=sensitivity, detect_mode=detect_mode, batch_size=batch_size)
    return detector.detect()
@ChunhanLi
Copy link

@rajdeep-biswas Hi, may I ask whether you get the answer or solution to this question now? I have same concern here and hope you can give me some suggestions.

@rajdeep-biswas
Copy link
Author

@ChunhanLi, unfortunately no, I just moved on to other better maintained open source options such as Prophet and PyOD.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants