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

How can I get predict label? #10

Open
ZhangMeiXian opened this issue Feb 7, 2023 · 3 comments
Open

How can I get predict label? #10

ZhangMeiXian opened this issue Feb 7, 2023 · 3 comments

Comments

@ZhangMeiXian
Copy link

In main.py, we can only get the probability list, how can we transfer it to label list?

@lizeyan
Copy link
Member

lizeyan commented Feb 14, 2023

Select a threshold for the anomaly probability

@ZhangMeiXian
Copy link
Author

ZhangMeiXian commented Mar 29, 2023

Hi, Zeyan Li. Thanks so much for answering my question.
Is the code online newest? Here are some other questions about model.py:

  1. function or object threshold_prior is not defined;
  2. parameter train_kpi is not used in function detect;
  3. parameter factor is not used in dunction threshold_ml;

@lizeyan
Copy link
Member

lizeyan commented Mar 29, 2023

  1. threshold_prior is deprecated. I explored automatic threshold selection and I deleted the testing code in the final published code. But some codes seem to be just missed.
  2. The parameter train_kpi in detect is only used for debugging.
  3. factor is deprecated, just like question 1.

Hi, Zeyan Li. Thanks so much for answering my question. Is the code online newest? Here are some other questions about model.py:

  1. function or object threshold_prior is not defined;
  2. parameter train_kpi is not used in function detect;
  3. parameter factor is not used in dunction threshold_ml;

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