Skip to content

Commit 87684cc

Browse files
committed
Ignore cran-comments + fix URL
1 parent 39c9b0f commit 87684cc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.Rbuildignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,4 @@
3737
^CRAN-RELEASE$
3838
^doc$
3939
^Meta$
40+
^cran-comments\.md$

vignettes/index.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ x_test <- x_test / 255
9393

9494
Note that we use the `array_reshape()` function rather than the `dim<-()` function to reshape the array. This is so that the data is re-interpreted using row-major semantics (as opposed to R's default column-major semantics), which is in turn compatible with the way that the numerical libraries called by Keras interpret array dimensions.
9595

96-
The `y` data is an integer vector with values ranging from 0 to 9. To prepare this data for training we [one-hot encode](https://www.quora.com/What-is-one-hot-encoding-and-when-is-it-used-in-data-science) the vectors into binary class matrices using the Keras `to_categorical()` function:
96+
The `y` data is an integer vector with values ranging from 0 to 9. To prepare this data for training we one-hot encode the vectors into binary class matrices using the Keras `to_categorical()` function:
9797

9898
```{r}
9999
y_train <- to_categorical(y_train, 10)

0 commit comments

Comments
 (0)