반응형
multiclass classification 클래스별로 ROC curve 그리기
Deep Learning & Machine Learning/강좌&예제 코드2022. 3. 14. 07:49multiclass classification 클래스별로 ROC curve 그리기

multiclass classification에서 클래스별로 ROC curve를 그리는 예제 코드입니다. 2022. 3. 14 최초작성 # https://stackoverflow.com/questions/45332410/roc-for-multiclass-classification # https://moons08.github.io/datascience/classification_score_roc_auc/ from sklearn.datasets import load_iris from sklearn.metrics import accuracy_score, auc, roc_auc_score, roc_curve from sklearn.preprocessing import label_binarize from skle..

반응형
image