quick_anomaly_detector.data_process.check_wrong
- quick_anomaly_detector.data_process.check_wrong(df, predict='predict', label='label')
check_wrong is a function to calculate the predicted wrongly df
- Parameters:
df (pandas.DataFrame) – The pandas DataFrame containing the data.
predict (string) – the column name of predict
label (string) – the column name of label
- Returns:
df_tn, df_fn, df_tp, df_fp dataframe
- Return type:
[pandas.DataFrame, pandas.DataFrame, pandas.DataFrame, pandas.DataFrame]