[][src]Struct fanova::RandomForestOptions

pub struct RandomForestOptions { /* fields omitted */ }

Random forest options.

Implementations

impl RandomForestOptions[src]

pub fn new() -> Self[src]

Makes a RandomForestOptions instance with the default settings.

pub fn seed(self, seed: u64) -> Self[src]

Sets the random generator seed.

The default value is random.

pub fn trees(self, trees: NonZeroUsize) -> Self[src]

Sets the number of decision trees.

The default value is 100.

pub fn max_features(self, max: NonZeroUsize) -> Self[src]

Sets the number of maximum candidate features used to determine each decision tree node.

The default value is sqrt(the number of features).

Trait Implementations

impl Clone for RandomForestOptions[src]

impl Debug for RandomForestOptions[src]

impl Default for RandomForestOptions[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,