[SOLVED] Machine Learning -week8 model selection

49.99 $

Category: Tags: , , , , , ,
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon week8_model_selection-1byivc.zip (686.2 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
πŸ”’ Securely Powered by:
Secure Checkout
5/5 - (1 vote)

Model Selection Lab Sheet

Preliminaries
The notebook 07 Model Selection Lab shows how to fit a k-NN model for the HotelRevHelpfulness dataset. It assesses three options:
● whether to use a StandardScaler, MinMaxScaler or no scaler.
● what k to use for k-NN
● what weighting policy

Q1
Repeat this model fitting exercise to fit a Naive Bayes mode for the same data. Consider the same scaling options and GaussianNB and BernoulliNB as classifier options.

Q2
Find the best decision tree model for the HotelRevHelpfulness dataset considering max_leaf_nodes and the splitting criterion. The splitting criterion can be either ‘gini’ or ‘entropy’, you can select your own options for max_leaf_nodes.

Q3
Which model would you recommend for this dataset?

  • week8_model_selection-1byivc.zip