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

Size of prediction doesn't match size of test_values #24

Open
Anaisdg opened this issue May 6, 2020 · 1 comment
Open

Size of prediction doesn't match size of test_values #24

Anaisdg opened this issue May 6, 2020 · 1 comment

Comments

@Anaisdg
Copy link

Anaisdg commented May 6, 2020

Hello I am trying to interpret the severity of anomalies using the sample data cpu4.csv and following:

take the negative of the score, if you want something to directly indicate the severity of anomaly.

test_score.size = 5151
test_values.size  = 5270

I noticed that the size of test_values doesn't equal test_score. How can I correlate my test data to the score?
Thank you kindly!
Screen Shot 2020-05-06 at 9 50 18 AM

@haowen-xu
Copy link
Collaborator

As mentioned in the paper, we always use the scores of the last points of every windows. It seems that your window size is 20, and thus the first score should correspond to the last point in the first window.

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