Need R Homework Help?

Using “economics” data set and ggplot2, visualize unemployment field of the dataset as shown below:

Using “pima” dataset and ggplot2, visualize Body Mass Index BMI  field of the dataset as shown below:

Get Your Custom Essay Written From Scratch
We have worked on a similar problem. If you need help click order now button and submit your assignment instructions.
Just from $13/Page
Order Now

Using “pima” dataset and ggplot2, visualize the association between age categories that you make as x = age, and  y = glu field of the dataset,  as shown below:

  • analyze data and apply Naïve Bayes Classifier for Machine Learning Classification,
  • analyze data and apply KNN Algorithm for Machine Learning Classification,
  • interpret the result of Naïve Bayes and KNN and find optimum models, and 
  • creatively apply Naïve Bayes and KNN in business scenarios.

The following Confusion Matrix which shows the predictions about buying behavior of customers

Actual class
Buy Not Buy
Predicted
class
Buy 25 15
Not Buy 13 23

 

Question 1

 

How many true positives do you observe?

Question 2

 

How many true negatives do you observe?

Question 3

 

How many false positives do you observe?

Question 4

How many false negatives do you observe?

 

Question 5

 

What is the sensitivity of the model?

 

Question 6

 

What is the specificity of the model?

Question 7

 

 

In the following ROC chart, which model is better and why?

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published.