Struct gapi_grpc::google::cloud::aiplatform::v1beta1::ExplanationParameters[][src]

pub struct ExplanationParameters {
    pub top_k: i32,
    pub output_indices: Option<ListValue>,
    pub method: Option<Method>,
}

Parameters to configure explaining for Model’s predictions.

Fields

top_k: i32

If populated, returns attributions for top K indices of outputs (defaults to 1). Only applies to Models that predicts more than one outputs (e,g, multi-class Models). When set to -1, returns explanations for all outputs.

output_indices: Option<ListValue>

If populated, only returns attributions that have [output_index][google.cloud.aiplatform.v1beta1.Attribution.output_index] contained in output_indices. It must be an ndarray of integers, with the same shape of the output it’s explaining.

If not populated, returns attributions for [top_k][google.cloud.aiplatform.v1beta1.ExplanationParameters.top_k] indices of outputs. If neither top_k nor output_indeices is populated, returns the argmax index of the outputs.

Only applicable to Models that predict multiple outputs (e,g, multi-class Models that predict multiple classes).

method: Option<Method>

Trait Implementations

impl Clone for ExplanationParameters[src]

impl Debug for ExplanationParameters[src]

impl Default for ExplanationParameters[src]

impl Message for ExplanationParameters[src]

impl PartialEq<ExplanationParameters> for ExplanationParameters[src]

impl StructuralPartialEq for ExplanationParameters[src]

Auto Trait Implementations

impl RefUnwindSafe for ExplanationParameters

impl Send for ExplanationParameters

impl Sync for ExplanationParameters

impl Unpin for ExplanationParameters

impl UnwindSafe for ExplanationParameters

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]