问题描述
我是 Catboost 的新手,我想使用 Precision-Recall 曲线作为 catboost 的自定义评估指标。我该如何实施?
我知道我应该使用如下格式:
class CustomMetric(object):
def get_final_error(self,error,weight):
return 0.0
def is_max_optimal(self):
return True
def evaluate(self,approxes,target,weight):
# approxes - list of list-like objects (one object per approx dimension)
# target - list-like object
# weight - list-like object,can be None
return 0.0,0.0
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)