set_weights | R Documentation |
Function to set the weights of a deepregression object
set_weights( x, weights, param = NULL, type = c("linear", "nonlinear", "lasso", "ridge", "elasticnet") )
x |
deepregression object |
weights |
a matrix with weights |
param |
integer; for which parameter to set the weights |
type |
character; for which type of layer to set the weights; |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.