Starting from:

$24.99

UML501 Lab 6 Solution

Machine Learning (UML501)
Q 1 Download the dataset from the following link. It has 5572 messages labeled as spam or ham:
https://raw.githubusercontent.com/justmarkham/pycon-2016tutorial/master/data/sms.tsv
Implement Multinomial Naïve Bayes classifier (in-built) for detection of messages as spam or ham?
Q 2 (Gaussian Naïve Bayes Classifier) Implement Gaussian Naïve Bayes Classifier on the Iris dataset from sklearn.datasets using
(i) Step-by-step implementation
(ii) (ii) In-built function
Q3 Explore about GridSearchCV toot in scikit-learn. This is a tool that is often used for tuning hyperparameters of machine learning models. Use this tool to find the best value of K for K-NN Classifier using any dataset.

More products