Skip to content

Instantly share code, notes, and snippets.

@HViktorTsoi
HViktorTsoi / calc_roc.py
Created May 7, 2019 09:45
计算ROC曲线
import scipy
import scipy.io as scio
import numpy as np
import cv2
import sklearn
from sklearn.decomposition import PCA
from sklearn.neighbors import KNeighborsClassifier
from sklearn import metrics
import matplotlib.pyplot as plt
import pickle as pkl