partial_fit: Partial fit stochastic model to new data

Description Usage Arguments Value See Also

View source: R/optimizers_guided.R

Description

Runs one iteration of the stochastic optimizer on the new data passed here.

Usage

1
partial_fit(optimizer, X, y = NULL, weights = NULL, ...)

Arguments

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.

Value

No return value (object is modified in-place).

See Also

oLBFGS , SQN , adaQN


stochQN documentation built on Sept. 26, 2021, 9:07 a.m.

Related to partial_fit in stochQN...