Bagel icon indicating copy to clipboard operation
Bagel copied to clipboard

How can I get predict label?

Open ZhangMeiXian opened this issue 2 years ago • 3 comments

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

ZhangMeiXian avatar Feb 07 '23 07:02 ZhangMeiXian

Select a threshold for the anomaly probability

lizeyan avatar Feb 14 '23 08:02 lizeyan

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;

ZhangMeiXian avatar Mar 29 '23 07:03 ZhangMeiXian

  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;

lizeyan avatar Mar 29 '23 08:03 lizeyan