ShichenXie / scorecardpy

Scorecard Development in python, 评分卡
http://shichen.name/scorecard
MIT License
725 stars 301 forks source link

运行你的example中train_perf = sc.perf_eva(y_train, train_pred, title = "train") #105

Closed ggfggggjqd closed 1 year ago

ggfggggjqd commented 1 year ago

出现以下报错ValueError: Number of rows must be a positive integer, not 1.0

<Figure size 432x288 with 0 Axes>

suiyilalala commented 1 year ago

已经有相关提问了, 作者已经修复, 下载github上的最新版本依赖包就可以了。

ggfggggjqd commented 1 year ago

已经是最新的 0.1.9.6 了

suiyilalala commented 1 year ago

最新是1.9.7

rookiebird commented 1 year ago

matplotlib降级到3.4.1也可以

ShichenXie commented 1 year ago

已经将这个问题的修复版本上传PYPI了。