julia - KeyError: key :supports_class_weights not found
问题描述
使用此功能时,
@load DecisionTreeClassifier
我遇到了ERROR: LoadError: KeyError: key :supports_class_weights not found
相同的错误
y, X = unpack(iris, ==(:Species),colname -> true)
for m in models(matching(X, y))
if m.prediction_type == :probabilistic
println(rpad(m.name, 30), "($(m.package_name))")
end
end
解决方案
推荐阅读
- android-studio - 浓缩咖啡 - 断言 EditText
- r - gtsummary 中的似然比检验 p 值
- python - 网页抓取返回无
- visual-studio - (Azure DevOps 测试计划)是否可以在没有 Visual Studio 的情况下将自动化测试与测试用例相关联?
- javascript - 如何强制 Next.js 始终重定向到首选用户语言?
- firebase - 没有为“用户”类型定义方法“fromDocument”。(未定义方法)
- php - PHPUnit测试中的模拟连接中止
- mysql - 无法使用 MySql(Xampp) System.InvalidOperationException 更新我的 DataGridView:“连接已打开。”
- go - Retract Go 功能 - 将较旧的包版本撤回为不安全、不兼容或损坏
- sccm - Configuration Manager 正在寻找策略