Description Usage Arguments Details Value See Also Examples
Return the deviance for an object of class "sgdnet"
, typically
from a fit with sgdnet()
. deviance.cv_sgdnet()
is a simple wrapper
that calls deviance.sgdnet()
on the fit to full data from cv_sgdnet()
.
1 2 3 4 5 |
object |
an object of class |
... |
ignored |
This functions returns the deviance of the model along the regularization
path. It is computed from the slots dev.ratio
and nulldev
from the
"sgdnet"
object using the formula
(1 - dev.ratio)*nulldev
where nulldev
is the deviance of the intercept-only model.
The deviance of object
at each value along the regularization path.
For family = "gaussian"
in sgdnet()
, this is the residual sum of
squares.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.