会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
夏天的冰棍儿
博客园
首页
新随笔
联系
订阅
管理
11 2021 档案
compute_class_weight() takes 1 positional argument but 3 were given
摘要:调用sklearn的compute_class_weight提示错误”compute_class_weight() takes 1 positional argument but 3 were given“,解决办法为函数里加上参数名: from sklearn.utils.class_weight
阅读全文
posted @
2021-11-15 11:35
夏天的冰棍儿
阅读(4545)
评论(0)
推荐(0)
编辑
公告