feat: support pr&roc&confusion_matrix plot #1209
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
scikit-learn
和pyecharts
简单实现的 ML 相关 metricsconfusion_matrix
的左上角为 X/Y 轴的 0 值起始点,在 pyecharts 的 heatmap 中是左下角,可以强转顺序,但是横轴的 class_names 可能会对不起来 (不过问题应该不是很大?)参考测试代码:
参考链接:
https://dev001.swanlab.cn/@nexisato/Echarts-Metrics-Demo/runs/5thtkcqquhn5ttcjkedhq/chart
Issue: #1160