predict.stochQN_guided {stochQN}R Documentation

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 class '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


[Package stochQN version 0.1.2-1 Index]