pub struct TrainedSequentialFeatureSelection { /* private fields */ }Expand description
Trained Sequential Feature Selection model
Implementations§
Source§impl TrainedSequentialFeatureSelection
impl TrainedSequentialFeatureSelection
Sourcepub fn selection_path(&self) -> &[usize]
pub fn selection_path(&self) -> &[usize]
Get the selection path
Sourcepub fn n_features(&self) -> usize
pub fn n_features(&self) -> usize
Get the number of selected features
Sourcepub fn get_support_indices(&self) -> Vec<usize>
pub fn get_support_indices(&self) -> Vec<usize>
Get the selected feature indices
Sourcepub fn estimator(&self) -> &LinearDiscriminantAnalysis<Trained>
pub fn estimator(&self) -> &LinearDiscriminantAnalysis<Trained>
Get the final trained estimator
Trait Implementations§
Source§impl Clone for TrainedSequentialFeatureSelection
impl Clone for TrainedSequentialFeatureSelection
Source§fn clone(&self) -> TrainedSequentialFeatureSelection
fn clone(&self) -> TrainedSequentialFeatureSelection
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Predict<ArrayBase<OwnedRepr<f64>, Dim<[usize; 2]>>, ArrayBase<OwnedRepr<i32>, Dim<[usize; 1]>>> for TrainedSequentialFeatureSelection
impl Predict<ArrayBase<OwnedRepr<f64>, Dim<[usize; 2]>>, ArrayBase<OwnedRepr<i32>, Dim<[usize; 1]>>> for TrainedSequentialFeatureSelection
Source§fn predict(&self, x: &Array2<Float>) -> Result<Array1<i32>>
fn predict(&self, x: &Array2<Float>) -> Result<Array1<i32>>
Make predictions on the provided data
Source§fn predict_with_uncertainty(
&self,
x: &X,
) -> Result<(Output, UncertaintyMeasure), SklearsError>
fn predict_with_uncertainty( &self, x: &X, ) -> Result<(Output, UncertaintyMeasure), SklearsError>
Make predictions with confidence intervals
Auto Trait Implementations§
impl Freeze for TrainedSequentialFeatureSelection
impl RefUnwindSafe for TrainedSequentialFeatureSelection
impl Send for TrainedSequentialFeatureSelection
impl Sync for TrainedSequentialFeatureSelection
impl Unpin for TrainedSequentialFeatureSelection
impl UnwindSafe for TrainedSequentialFeatureSelection
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more