Publications by E. Falcon

Assignment #5

30.04.2020

Chapter 07 (page 297): 6, 10 Problem 6 In this exercise, you will further analyze the Wage data set considered throughout this chapter. library(ISLR) attach(Wage) # View summary for the Wage dataset summary(Wage) ## year age maritl race ## Min. :2003 Min. :18.00 1. Never Married: 648 ...

2875 sym R (23265 sym/63 pcs) 15 img

STA 4143 HW4

21.03.2020

Chapter 05 (page 197): 3, 5, 6, 9 Problem 3 We now review k-fold cross-validation. (a) Explain how k-fold cross-validation is implemented. “This approach involves randomly dividing the set of observations into k groups, or folds, of approximately equal size. The first fold is treated as a validation set, and the method is fit on the remaining ...

6590 sym R (8916 sym/49 pcs)

HW 3

07.03.2020

Chapter 04 (page 168): 10, 11, 13 Problem 10 This question should be answered using the Weekly data set, which is part of the ISLR package. library(ISLR) attach(Weekly) dim(Weekly) ## [1] 1089 9 str(Weekly) ## 'data.frame': 1089 obs. of 9 variables: ## $ Year : num 1990 1990 1990 1990 1990 1990 1990 1990 1990 1990 ... ## $ Lag1 ...

3765 sym R (22449 sym/112 pcs) 7 img

HW 2

19.02.2020

Problem 2 Carefully explain the differences between the KNN classifier and KNN regression methods. “KNN classifier first identifies the neighbors K points in the training data that are closest to \(x_{0}\), represented by N. It then estimates the conditional probability for class j as the fraction of points in N…KNN applies Bayes rule and cla...

6292 sym R (11373 sym/39 pcs) 3 img

Document

05.05.2020

Chapter 08 (page 332): 3, 8, 9 Problem 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 index...

10437 sym R (5482 sym/36 pcs) 8 img

Final

12.05.2020

Final Project Introduction The goal of this project is to create a web page using R Markdown that features an interactive map created with Leaflet. The webpage is hosted on RPubs. I thought it would be fun and creative to create a map of top 10 places I would like visit sometime in the future. I understand that under the current circumstance we ...

1575 sym R (1700 sym/5 pcs)