Description Usage Arguments Details Value
Defines a linear regression task
1 |
y |
n-by-1 numeric vector of response values |
a |
n-by-1 vector of sample weights |
nonneg |
set to TRUE to enforce non-negativity constraints on the weights (default: FALSE) |
fix_bias |
set to TRUE to prevent the bias term from being updated (default: FALSE) |
The objective function is given by
\frac{1}{2n} ∑_i a_i (y_i - (w^T x_i + b))^2 + R(w)
A GELnet task definition that can be combined with gelnet() output
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.