def classify(features_train, labels_train): | |
### import the sklearn module for GaussianNB | |
from sklearn.naive_bayes import GaussianNB | |
### create classifier | |
clf = GaussianNB() | |
### fit the classifier on the training features and labels | |
clf.fit(features_train, labels_train) | |
### return the fit classifier | |
return clf | |
### your code goes here! |
Wednesday, 26 December 2018
New
script for ClassifyNB.py
About Saurabh kodag
SoraTemplates is a blogger resources site is a provider of high quality blogger template with premium looking layout and robust design. The main mission of SoraTemplates is to provide the best quality blogger templates.
Newer Article
what we have know so war about andriod Q
Older Article
how to learn data science in just 3 months
Jio gigafiber plans are launchedSept 05, 2019
Sennheiser cx 180Mar 18, 2019
what we have know so war about andriod QMar 15, 2019
Labels:
technology