Partial fit stochastic model to new data
Runs one iteration of the stochastic optimizer on the new data passed here.
partial_fit(optimizer, X, y = NULL, weights = NULL, ...)
optimizer
: A stochastic optimizer from this package as output by functions oLBFGS
, SQN
, adaQN
. Will be modified in-place.X
: Covariates to pass to the user-defined gradient / objective / Hessian-vector functions.y
: Target variable to pass to the user-defined gradient / objective / Hessian-vector functions.weights
: Target variable to pass to the user-defined gradient / objective / Hessian-vector functions....
: Additional arguments to pass to the user-defined gradient / objective / Hessian-vector functions.No return value (object is modified in-place).
oLBFGS , SQN , adaQN
Downloads (last 30 days):