Created
March 15, 2019 20:51
-
-
Save uomodellamansarda/f340f7e2b8101c4ac2f010cd7cb85884 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
import numpy as np | |
import matplotlib.pyplot as plt | |
from sklearn.model_selection import train_test_split | |
#Importiamo i classificatori che vogliamo allenare | |
from sklearn.naive_bayes import MultinomialNB | |
from sklearn.linear_model import LogisticRegression | |
from sklearn.ensemble import RandomForestClassifier | |
#Importiamo gli indicatori di performance per valutare i nostri classificatori | |
from sklearn.metrics import confusion_matrix,auc,roc_auc_score | |
from sklearn.metrics import recall_score, precision_score, accuracy_score, f1_score |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment