首页 > 解决方案 > 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

标签: julia

解决方案


推荐阅读