NetManAIOps / Bagel

IPCCC 2018: Robust and Unsupervised KPI Anomaly Detection Based on Conditional Variational Autoencoder
50 stars 19 forks source link

How can I get predict label? #10

Open ZhangMeiXian opened 1 year ago

ZhangMeiXian commented 1 year ago

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

lizeyan commented 1 year ago

Select a threshold for the anomaly probability

ZhangMeiXian commented 1 year ago

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 commented 1 year ago
  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;