Open mrjdomingus opened 7 years ago
Hi, Taweh,
Please clarify why the initialization of Init of variables Y and X in Chapter3_CodeExamples.R
Y <- matrix(sample(1:10, 100, replace = TRUE)) X <- matrix(sample(1:10,100, replace = TRUE))
differs from the initialization as printed on page 55 of the book, i.e.
data(iris) Y <- matrix(iris[,1]) X <- matrix(seq(0,149, 1))
The book likely has the proper version of the script. I will consolidate the differences shortly. Thank you!
Hi, Taweh,
Please clarify why the initialization of Init of variables Y and X in Chapter3_CodeExamples.R
Randomized Sample Data for Inputs
Y <- matrix(sample(1:10, 100, replace = TRUE)) X <- matrix(sample(1:10,100, replace = TRUE))
differs from the initialization as printed on page 55 of the book, i.e.
Modifying Data From Iris Data Set
data(iris) Y <- matrix(iris[,1]) X <- matrix(seq(0,149, 1))