I would greatly appreciate if you could let me know how to fix the following issue:
I used sklearn.metrics.fowlkes_mallows_score to compute G-mean score for my binary classification problem, but it produces nan
:
AUC: 0.960674
Accuracy: 0.949137
Cohen Kappa: 0.484456
F_measure: 0.508772
G-mean: 0.833217
G-mean1: nan
Matthews: CorrCoef 0.510088
Precision: 0.391892
Recall: 0.725
However, it should be: 0.533031
Thanks in advance.