predict.mactivate_fit_gradient_01 {mactivate} | R Documentation |
Predict from Fitted Gradient Model
Description
Predict using fitted model returned by f_fit_gradient_01
.
Usage
## S3 method for class 'mactivate_fit_gradient_01'
predict(object, X0, U0=NULL, mcols, ...)
Arguments
object |
A list of class 'mactivate_fit_gradient_01' as returned by f_fit_gradient_01(). |
X0 |
Numeric matrix, |
U0 |
Numeric matrix with |
mcols |
Scalar non-negative integer specifying which first columns of |
... |
Nothing else is required for this extension of the predict() function. |
Details
If U0
is not provided, X0
will be passed to activation layer.
Value
yhat
. Numeric vector of length N
.
See Also
Examples
####### Please see examples in the fitting functions
[Package mactivate version 0.6.6 Index]