Skip to content

Commit 48132b9

Browse files
committed
added roc auc metrics
1 parent a13e1c1 commit 48132b9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

toolkit/plot.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
import plotly.offline as py
1010
from wordcloud import STOPWORDS
1111
import plotly.express as px
12+
from sklearn.metrics import auc, roc_curve
1213

1314

1415
def plot_multiclass_prediction_image(df, row_index: int, X_test: Union[pd.DataFrame, np.ndarray], prediction_col: str = 'Top Prediction', label_col: str = 'Label'):

0 commit comments

Comments
 (0)