Struct forester::split::BestSplitRandomFeature[][src]

pub struct BestSplitRandomFeature { /* fields omitted */ }

Find best split, in a number of randomly selected features.

Normally, exactly n_features are tested. However, there are two notable exceptions:

  1. if a "perfect split" is encountered (split criterion is exactly zero) the search stops early.
  2. if after no split has been found after n_features the search continues until it finds one or runs out of features.

Methods

impl BestSplitRandomFeature
[src]

Trait Implementations

impl SplitFinder for BestSplitRandomFeature
[src]

Attempt to find a split for the given data set.

Auto Trait Implementations