码迷,mamicode.com
首页 > 其他好文 > 详细

一道关于 precision、recall 和 threshold关系的机器学习题

时间:2016-01-15 20:29:23      阅读:1410      评论:0      收藏:0      [点我收藏+]

标签:

Suppose you have trained a logistic regression classifier which is outputing hθ(x).

Currently, you predict 1 if hθ(x)threshold, and predict 0 if hθ(x)<threshold, where currently the threshold is set to 0.5.

Suppose you increase the threshold to 0.7. Which of the following are true? Check all that apply.

thus the same F1 score.
higher accuracy.

 

这道题变着花样做了好几遍,老是做错啊。。。

给点思路吧。。。哭。。。

一道关于 precision、recall 和 threshold关系的机器学习题

标签:

原文地址:http://www.cnblogs.com/simplelovecs/p/5132841.html

(2)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!