model_oclr: One-class logistic regression

Description Usage Arguments Details Value

View source: R/def.R

Description

Defines a one-class logistic regression (OCLR) task

Usage

1
model_oclr(nonneg = FALSE)

Arguments

nonneg

set to TRUE to enforce non-negativity constraints on the weights (default: FALSE)

Details

The OCLR objective function is defined as

-\frac{1}{n} ∑_i s_i - \log( 1 + \exp(s_i) ) + R(w)

where

s_i = w^T x_i

Value

A GELnet task definition that can be combined with gelnet() output


ArtemSokolov/gelnet documentation built on Sept. 13, 2019, 4:01 a.m.