Struct aws_sdk_machinelearning::output::PredictOutput
source · #[non_exhaustive]pub struct PredictOutput { /* private fields */ }Implementations§
source§impl PredictOutput
impl PredictOutput
sourcepub fn prediction(&self) -> Option<&Prediction>
pub fn prediction(&self) -> Option<&Prediction>
The output from a Predict operation:
-
Details- Contains the following attributes:DetailsAttributes.PREDICTIVE_MODEL_TYPE - REGRESSION | BINARY | MULTICLASSDetailsAttributes.ALGORITHM - SGD -
PredictedLabel- Present for either aBINARYorMULTICLASSMLModelrequest. -
PredictedScores- Contains the raw classification score corresponding to each label. -
PredictedValue- Present for aREGRESSIONMLModelrequest.
source§impl PredictOutput
impl PredictOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PredictOutput.
Trait Implementations§
source§impl Clone for PredictOutput
impl Clone for PredictOutput
source§fn clone(&self) -> PredictOutput
fn clone(&self) -> PredictOutput
Returns a copy 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 PredictOutput
impl Debug for PredictOutput
source§impl PartialEq<PredictOutput> for PredictOutput
impl PartialEq<PredictOutput> for PredictOutput
source§fn eq(&self, other: &PredictOutput) -> bool
fn eq(&self, other: &PredictOutput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.