Learn R Programming

stochQN (version 0.1.2-1)

predict.stochQN_guided: Predict function for stochastic optimizer object

Description

Calls the user-defined predict function for an object optimized through this package's functions.

Usage

# S3 method for stochQN_guided
predict(object, newdata, ...)

Arguments

object

Optimizer from this module as output by functions `oLBFGS`, `SQN`, `adaQN`. Must have been constructed with a predict function.

newdata

Data on which to make predictions (will be passed to the user-provided function).

...

Additional arguments to pass to the user-provided predict function.

See Also

oLBFGS , SQN , adaQN