Learn R Programming

rFTRLProximal (version 1.0.0)

FTRLProx_predict_spMatrix: FTRL-Proximal Linear Model Predicting Function

Description

FTRLProx_predict_spMatrix predicts values based on linear model weights. This function is an C++ implementation. This function is used internally and is not intended for end-user direct usage.

Usage

FTRLProx_predict_spMatrix(x, w, family)

Arguments

x
a transposed dgCMatrix object.
w
an vector of linear model weights.
family
link function to be used in the model. "gaussian", "binomial" and "poisson" are avaliable.

Value

an vector of linear model predicted values