Struct linfa::dataset::Pr [−][src]
pub struct Pr(pub f32);
Expand description
Probability types
This helper struct exists to distinguish probabilities from floating points. For example SVM selects regression or classification training, based on the target type, and could not distinguish them without a new-type definition.
Tuple Fields
0: f32
Implementations
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more