Struct gapi_grpc::google::cloud::aiplatform::v1::schema::predict::prediction::ClassificationPredictionResult[][src]

pub struct ClassificationPredictionResult {
    pub ids: Vec<i64>,
    pub display_names: Vec<String>,
    pub confidences: Vec<f32>,
}

Prediction output format for Image and Text Classification.

Fields

ids: Vec<i64>

The resource IDs of the AnnotationSpecs that had been identified, ordered by the confidence score descendingly.

display_names: Vec<String>

The display names of the AnnotationSpecs that had been identified, order matches the IDs.

confidences: Vec<f32>

The Model’s confidences in correctness of the predicted IDs, higher value means higher confidence. Order matches the Ids.

Trait Implementations

impl Clone for ClassificationPredictionResult[src]

impl Debug for ClassificationPredictionResult[src]

impl Default for ClassificationPredictionResult[src]

impl Message for ClassificationPredictionResult[src]

impl PartialEq<ClassificationPredictionResult> for ClassificationPredictionResult[src]

impl StructuralPartialEq for ClassificationPredictionResult[src]

Auto Trait Implementations

impl RefUnwindSafe for ClassificationPredictionResult

impl Send for ClassificationPredictionResult

impl Sync for ClassificationPredictionResult

impl Unpin for ClassificationPredictionResult

impl UnwindSafe for ClassificationPredictionResult

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]