xavier-homework8

Q1 – Classifier Performance Comparison

Q1a –Analyze the data set Social_Network_Ads.csv and create the plot with correct titles on axes:

Don't use plagiarized sources. Get Your Custom Essay on
xavier-homework8
Just from $13/Page
Order Essay

Q1b Use the following classifiers

  1. Naïve Bayes
  2. Logistic Regression
  3. Decision Trees
  4. KNN
  5. Support Vector Machine
  6. Random Forest

For each classifier show

  • The classifier boundary for training and test
  • Printout your 1st name on all graphs

Q1c Compare the confusion matrix in the following table for the above data set

TP TN FP FN Accuracy
Naïve Bayes
Logistic Regression
Decision Trees
KNN
Support Vector Machine
Random Forest

Q2 – Principal Component Analysis

Summarize how the PCA algorithm works using the following link and recreate the code for the IRIS data set.

Still struggling to complete your homework?
Get instant homework help from our expert academic writers!