You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from sklearn.metrics import confusion_matrix, classification_report
confusion_matrix(y_test,y_pred,)
sns.pairplot(data =iris, hue='species')
print(classification_report(y_test,y_pred))
gnb.__dict__
import numpy as np
# %load http://drsmb.co/310
df = pd.DataFrame(np.concatenate([np.random.multivariate_normal(mu, sig*np.eye(4),20)
for mu, sig in zip(gnb.theta_,gnb.sigma_)]))
df['species'] = [ci for cl in [[c]*20 for c in gnb.classes_] for ci in cl]
sns.pairplot(data =df, hue='species')
Naive Bayes Review -->
Naive Bayes Review
BrownFall20/notes/2020-10-16.md
Line 21 in bfa5de3
Reminder to Stop Early for feedback survey
The text was updated successfully, but these errors were encountered: