美文网首页工作生活
一个画ROC曲线的封装包

一个画ROC曲线的封装包

作者: 狼无雨雪 | 来源:发表于2019-07-15 14:05 被阅读0次

Draw_ROC_Curves

This is a python file which is used for drawing ROC curves

-f : assign file name
-t : assign file type
-r : when draw picture, it means the row number
-c : when draw picture, it means the column number
-i : the input file and the type is csv
-l : 1 means Print "A-Z" in the upper left corner, others are False. Default false
for example:

python chr-ROC.py -f filename -t pdf -r 2 -c 1 -i NFC.csv,NFC.csv -l 1

where filename is the output file' name ande pdf means the 'pdf' type. After Combination, the full name is filename.pdf. It will be saved in local directory. Of course, file path can be included in filename. Such as filename can be assgned as "C:/Program Files/filename".

the final result is ploted as following:

1250729-20171123182539321-447294335.png

github链接地址:https://github.com/chr2117216003/Draw_ROC_Curves

相关文章

网友评论

    本文标题:一个画ROC曲线的封装包

    本文链接:https://www.haomeiwen.com/subject/crgdhctx.html