[−][src]Struct randomforest::RandomForestClassifier
Random forest classifier.
Implementations
impl RandomForestClassifier
[src]
pub fn fit<T: ClassificationCriterion>(criterion: T, table: Table<'_>) -> Self
[src]
Builds a classifier model fitting the given table with the default settings.
pub fn predict(&self, features: &[f64]) -> f64
[src]
Predicts the target value for the given features.
pub fn serialize<W: Write>(&self, writer: W) -> Result<()>
[src]
Writes this classifier to the given byte stream.
pub fn deserialize<R: Read>(reader: R) -> Result<Self>
[src]
Reads a classifier from the given byte stream.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RandomForestClassifier
impl Send for RandomForestClassifier
impl Sync for RandomForestClassifier
impl Unpin for RandomForestClassifier
impl UnwindSafe for RandomForestClassifier
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,