Struct rusoto_machinelearning::Prediction [] [src]

pub struct Prediction {
    pub details: Option<HashMap<String, String>>,
    pub predicted_label: Option<String>,
    pub predicted_scores: Option<HashMap<String, f32>>,
    pub predicted_value: Option<f32>,
}

The output from a Predict operation:

  • Details - Contains the following attributes: DetailsAttributes.PREDICTIVE_MODEL_TYPE - REGRESSION | BINARY | MULTICLASS DetailsAttributes.ALGORITHM - SGD

  • PredictedLabel - Present for either a BINARY or MULTICLASS MLModel request.

  • PredictedScores - Contains the raw classification score corresponding to each label.

  • PredictedValue - Present for a REGRESSION MLModel request.

Fields

The prediction label for either a BINARY or MULTICLASS MLModel.

The prediction value for REGRESSION MLModel.

Trait Implementations

impl Default for Prediction
[src]

Returns the "default value" for a type. Read more

impl Debug for Prediction
[src]

Formats the value using the given formatter.

impl Clone for Prediction
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more