VNNikolaidis / nnlib2Rcpp

An R package for Neural Nets created using nnlib2
Other
13 stars 4 forks source link

Typo in the blog post when definining the desired data out matrix #4

Closed schnorr closed 3 years ago

schnorr commented 3 years ago

Hi, I was repeating the procedure available at https://r-posts.com/creating-custom-neural-networks-with-nnlib2rcpp/ and I think there is a typo there. Instead of desired_data_out <- matrix(data=0, nrow=cases, ncol=3) you may want to have desired_data_out <- matrix(data=0, nrow=iris_cases, ncol=3).

VNNikolaidis commented 3 years ago

Dear schnorr, you are right, I really thank you for pointing that out, it was indeed a typo. I corrected the post. It should work now.

VNNikolaidis commented 3 years ago

It was a typo in the blog post, now corrected.