Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

実験結果の代表的なプロットを実装する #62

Open
beam2d opened this issue Feb 28, 2014 · 1 comment
Open

実験結果の代表的なプロットを実装する #62

beam2d opened this issue Feb 28, 2014 · 1 comment

Comments

@beam2d
Copy link
Member

beam2d commented Feb 28, 2014

多クラス分類の評価指標は maflib.rules.calculate_stats_multiclass_classification 関数に実装されている。 
https://github.com/pfi/maf/blob/master/maflib/rules.py#L203

代表的なプロットもサポートできると便利。例えば以下。

  • precision-recall曲線
  • ROC曲線
  • 正解率vs反復回数
@unnonouno
Copy link
Member

prec-recall曲線とROC曲線はいずれも、スコア付きの分類結果のフォーマットが決まっていれば作れそうです。calculate_stats_multiclass_classificationに則ると、たとえば以下の様なフォーマット。

[
  {"p": "m", "c": "m", "score": {"m": 1.5, "f": 0.1}}, 
...
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants