Struct forester::api::extra_trees_classifier::Classes[][src]

pub struct Classes(pub u8);

Trait Implementations

impl Debug for Classes
[src]

Formats the value using the given formatter. Read more

impl Copy for Classes
[src]

impl Clone for Classes
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for Classes
[src]

impl PartialEq for Classes
[src]

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

This method tests for !=.

impl Categorical for Classes
[src]

Return unique id of present instance.

Create category from given id.

Total number of categories. Read more

impl CatCount<Classes> for ClassCounts
[src]

Add a single observation of given category (increase this category's count by 1).

Add n observations of given category (increase this category's count by n).

Return probability (relative count) of given category.

Return the most frequent category.

Remove a single observation of given category (decrease this category's count by 1)

impl<'a> Sum<&'a Classes> for ClassCounts
[src]

Method which takes an iterator and generates Self from the elements by "summing up" the items. Read more

Auto Trait Implementations

impl Send for Classes

impl Sync for Classes