Description Usage Arguments Details Value See Also
Evaluates the one-class objective function value for a given model See details.
1 2 |
w |
p-by-1 vector of model weights |
X |
n-by-p matrix of n samples in p dimensions |
l1 |
L1-norm penalty scaling factor λ_1 |
l2 |
L2-norm penalty scaling factor λ_2 |
d |
p-by-1 vector of feature weights |
P |
p-by-p feature-feature penalty matrix |
m |
p-by-1 vector of translation coefficients |
Computes the objective function value according to
-\frac{1}{n} ∑_i s_i - \log( 1 + \exp(s_i) ) + R(w)
where
s_i = w^T x_i
R(w) = λ_1 ∑_j d_j |w_j| + \frac{λ_2}{2} (w-m)^T P (w-m)
The objective function value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.