Enum sbr::models::Loss[][src]

pub enum Loss {
    BPR,
    Hinge,
    WARP,
}

The loss used for training the model.

Variants

Bayesian Personalised Ranking.

Pairwise hinge loss.

WARP

Trait Implementations

impl Clone for Loss
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Loss
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Loss
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Loss
[src]

Auto Trait Implementations

impl Send for Loss

impl Sync for Loss