Bagel
Bagel copied to clipboard
How can I get predict label?
In main.py, we can only get the probability list, how can we transfer it to label list?
Select a threshold for the anomaly probability
Hi, Zeyan Li. Thanks so much for answering my question. Is the code online newest? Here are some other questions about model.py:
- function or object threshold_prior is not defined;
- parameter train_kpi is not used in function detect;
- parameter factor is not used in dunction threshold_ml;
-
threshold_prioris 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. - The parameter
train_kpiindetectis only used for debugging. -
factoris 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:
- function or object threshold_prior is not defined;
- parameter train_kpi is not used in function detect;
- parameter factor is not used in dunction threshold_ml;