logo Hurry, Grab up to 30% discount on the entire course
Order Now logo

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Jason RoyComputer science
(5/5)

558 Answers

Hire Me
expert
Rech ElleMathematics
(5/5)

522 Answers

Hire Me
expert
Sarita VashisthEconomics
(5/5)

953 Answers

Hire Me
expert
A Plus ExpertComputer science
(5/5)

908 Answers

Hire Me
R Programming
(5/5)

Generate a correlation plot using the data. Which variables have the highest correlation coefficient?

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

Homework 1

Use “iris” data from the datasets package in RStudio. For answering questions below, use the entire data set (do not create training/test sets).

1. Generate a correlation plot using the data. Which variables have the highest correlation coefficient?

2. Describe two drawbacks of correlation coefficient. Feel free to use hypothetical numbers to explain your answer.

3. Calculate average (mean) values of the numeric variables in the data using data.table package. Which variable has the highest mean?

4. Create a scatterplot showing the relationship between Sepal.Length and Sepal.Width variable, using ggplot2 package. Color code the points using Species variable.

5. Create a scatterplot showing the relationship between Petal.Length and Petal.Width variables, using ggplot2 package. Color code the points using Species variable.

6. Which combination of variables (used in Question 4 or Question 5), creates better separation among records of different Species. Explain your answer.

Use the Confusion Matrix below to answer Questions 7-10. The confusion matrix was generated by running an algorithm that only included Setosa and Versicolor species.

7. What is the overall accuracy of the model? How does it compare with the No Information Rate (NIR)? Explain your answer.

8. Calculate the sensitivity of the model, assuming the class of interest is Setosa. Show the calculations.

9. Calculate the specificity of the model, assuming the class of interest is Setosa. Show the calculations.

10. Calculate the precision of the model, assuming the class of interest is Setosa. Show the calculations.

(5/5)
Attachments:

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. Develop a program to emulate a purchase transaction at a retail store. This  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme