Description Usage Arguments Value Author(s) Examples
Linear Classifier specification constructor
1 | Classifier(weights_init = NULL)
|
weights_init |
initial weights. |
model.spec object
Mohamed Ishmael Diwan Belghazi
1 2 3 4 5 | # generate initial weight matrix for a linear classifier with 10 classes
# and 784 features
w_init <- matrix(, 784, 10)
# Construct model
linear_classifier <- Classifier(weights_init=w_init)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.