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.
CS 340 Milestone One Guidelines and Rubric Overview: For this assignment, you will implement the fundamental operations of create, read, update,
Retail Transaction Programming Project Project Requirements: Develop a program to emulate a purchase transaction at a retail store. This
7COM1028 Secure Systems Programming Referral Coursework: Secure
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
CS 340 Final Project Guidelines and Rubric Overview The final project will encompass developing a web service using a software stack and impleme