Publications by HAP747 - Ashton Brasol

DocumentSTA-6543 Data Analytics Algorithms II Assignment 7

25.07.2021

Chapter 08 (page 332): 3, 8, 9 Question 3 Consider the Gini index, classification error, and entropy in a simple classification setting with two classes. Create a single plot that displays each of these quantities as a function of ˆpm1. The xaxis should display ˆpm1, ranging from 0 to 1, and the y-axis should display the value of the Gini inde...

5280 sym R (5212 sym/35 pcs) 6 img

STA-6543 Data Analytics Algorithms II Assignment 6

25.07.2021

Chapter 07 (page 297): 6, 10 Question 6 In this exercise, you will further analyze the Wage data set considered throughout this chapter. Question 6-A Perform polynomial regression to predict wage using age. Use cross-validation to select the optimal degree d for the polynomial. What degree was chosen, and how does this compare to the results of...

2166 sym R (4284 sym/15 pcs) 4 img

Alg-II-Assignment-4

07.07.2021

Chapter 05 (page 197): 3, 5, 6, 9 Question 3 We now review k-fold cross-validation. Question 3-A Explain how k-fold cross-validation is implemented. Answer: K-fold cross-validation is implemented by randomly splitting a set of observations into groups that do not have any overlapping observations. One group serves as the validation set while th...

8013 sym R (6280 sym/45 pcs)

Alg-II-Assignment-2

22.06.2021

Chapter 3 (Questions 2,9,10,12) Question 2 Carefully explain the differences between the KNN classifier and KNN regression methods. Answer: KNN classifier methods result in a qualitative output for Y while KNN regression methods result in a quantitative value. However, the formulas for each are similar, modified to fit either a qualitative or qu...

8086 sym R (10558 sym/37 pcs) 4 img

Assignment III

28.06.2021

Chapter 4 (Questions 10, 11, 13) Question 10 This question should be answered using the Weekly data set, which is part of the ISLR package. This data is similar in nature to the Smarket data from this chapter’s lab, except that it contains 1, 089 weekly returns for 21 years, from the beginning of 1990 to the end of 2010. 10-A Produce some num...

8949 sym R (14050 sym/81 pcs) 9 img

Alg-II-Assignment-5

16.07.2021

Chapter 06 (page 259): 2, 9, 11 Question 2 For parts (a) through (c), indicate which of i. through iv. is correct. Justify your answer. Question 2-A The lasso, relative to least squares, is: Answer: [iii] Less flexible and hence will give improved prediction accuracy when its increase in bias is less than its decrease in variance. The LASSO is ...

5321 sym R (20295 sym/93 pcs) 4 img

DocumentSTA-6543 Data Analytics Algorithms II Assignment 8

25.07.2021

Chapter 09 (page 368): 5, 7, 8 Question 5 We have seen that we can fit an SVM with a non-linear kernel in order to perform classification using a non-linear decision boundary. We will now see that we can also obtain a non-linear decision boundary by performing logistic regression using non-linear transformations of the features. Question 5-A Ge...

6029 sym R (7500 sym/43 pcs) 19 img