Struct extended_isolation_forest::Forest
source · pub struct Forest<T, const N: usize> { /* private fields */ }
Implementations§
source§impl<'de, T, const N: usize> Forest<T, N>where
T: ForestFloat<'de> + SampleUniform + Default,
StandardNormal: Distribution<T>,
impl<'de, T, const N: usize> Forest<T, N>where
T: ForestFloat<'de> + SampleUniform + Default,
StandardNormal: Distribution<T>,
sourcepub fn from_slice(
training_data: &[[T; N]],
options: &ForestOptions
) -> Result<Self, Error>
pub fn from_slice(
training_data: &[[T; N]],
options: &ForestOptions
) -> Result<Self, Error>
Build a new forest from the given training data