How to optimize the threshold for binary classification

后端 未结 0 508
梦如初夏
梦如初夏 2021-01-30 07:35

I got regression predict values ranging from 0-6. Now I need a threshold to convert it into binary classification 0 or 1.

I tried scipy.optimize.minimize. The code is as

相关标签:
回答
  • 消灭零回复
提交回复
热议问题