TawehBeysolowII / AnIntroductionToDeepLearning

Code and accompanying data used in my book "An Introduction to Deep Learning"
8 stars 16 forks source link

Init of variables Y and X in Chapter3_CodeExamples.R differs from the book? #2

Open mrjdomingus opened 7 years ago

mrjdomingus commented 7 years ago

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))

TawehBeysolowII commented 7 years ago

The book likely has the proper version of the script. I will consolidate the differences shortly. Thank you!