pub struct MultiLabelPredictionResults {
pub predictions: Array2<usize>,
pub probabilities: Array2<f64>,
pub confidence_scores: Vec<f64>,
pub ranking_scores: Array2<f64>,
}Expand description
Multi-label prediction results
Fields§
§predictions: Array2<usize>Binary predictions for each label
probabilities: Array2<f64>Probability scores for each label
confidence_scores: Vec<f64>Confidence scores for predictions
ranking_scores: Array2<f64>Label ranking scores
Trait Implementations§
Source§impl Clone for MultiLabelPredictionResults
impl Clone for MultiLabelPredictionResults
Source§fn clone(&self) -> MultiLabelPredictionResults
fn clone(&self) -> MultiLabelPredictionResults
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 Debug for MultiLabelPredictionResults
impl Debug for MultiLabelPredictionResults
Source§impl Predict<ArrayBase<OwnedRepr<f64>, Dim<[usize; 2]>>, MultiLabelPredictionResults> for MultiLabelEnsembleClassifier<Trained>
impl Predict<ArrayBase<OwnedRepr<f64>, Dim<[usize; 2]>>, MultiLabelPredictionResults> for MultiLabelEnsembleClassifier<Trained>
Source§fn predict(&self, X: &Array2<f64>) -> SklResult<MultiLabelPredictionResults>
fn predict(&self, X: &Array2<f64>) -> SklResult<MultiLabelPredictionResults>
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 MultiLabelPredictionResults
impl RefUnwindSafe for MultiLabelPredictionResults
impl Send for MultiLabelPredictionResults
impl Sync for MultiLabelPredictionResults
impl Unpin for MultiLabelPredictionResults
impl UnwindSafe for MultiLabelPredictionResults
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