#[non_exhaustive]pub struct GetEventPredictionOutput {
pub model_scores: Option<Vec<ModelScores>>,
pub rule_results: Option<Vec<RuleResult>>,
pub external_model_outputs: Option<Vec<ExternalModelOutputs>>,
/* private fields */
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.model_scores: Option<Vec<ModelScores>>
The model scores. Amazon Fraud Detector generates model scores between 0 and 1000, where 0 is low fraud risk and 1000 is high fraud risk. Model scores are directly related to the false positive rate (FPR). For example, a score of 600 corresponds to an estimated 10% false positive rate whereas a score of 900 corresponds to an estimated 2% false positive rate.
rule_results: Option<Vec<RuleResult>>
The results from the rules.
external_model_outputs: Option<Vec<ExternalModelOutputs>>
The model scores for Amazon SageMaker models.
Implementations§
source§impl GetEventPredictionOutput
impl GetEventPredictionOutput
sourcepub fn model_scores(&self) -> &[ModelScores]
pub fn model_scores(&self) -> &[ModelScores]
The model scores. Amazon Fraud Detector generates model scores between 0 and 1000, where 0 is low fraud risk and 1000 is high fraud risk. Model scores are directly related to the false positive rate (FPR). For example, a score of 600 corresponds to an estimated 10% false positive rate whereas a score of 900 corresponds to an estimated 2% false positive rate.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .model_scores.is_none()
.
sourcepub fn rule_results(&self) -> &[RuleResult]
pub fn rule_results(&self) -> &[RuleResult]
The results from the rules.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .rule_results.is_none()
.
sourcepub fn external_model_outputs(&self) -> &[ExternalModelOutputs]
pub fn external_model_outputs(&self) -> &[ExternalModelOutputs]
The model scores for Amazon SageMaker models.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .external_model_outputs.is_none()
.
source§impl GetEventPredictionOutput
impl GetEventPredictionOutput
sourcepub fn builder() -> GetEventPredictionOutputBuilder
pub fn builder() -> GetEventPredictionOutputBuilder
Creates a new builder-style object to manufacture GetEventPredictionOutput
.
Trait Implementations§
source§impl Clone for GetEventPredictionOutput
impl Clone for GetEventPredictionOutput
source§fn clone(&self) -> GetEventPredictionOutput
fn clone(&self) -> GetEventPredictionOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetEventPredictionOutput
impl Debug for GetEventPredictionOutput
source§impl PartialEq for GetEventPredictionOutput
impl PartialEq for GetEventPredictionOutput
source§fn eq(&self, other: &GetEventPredictionOutput) -> bool
fn eq(&self, other: &GetEventPredictionOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetEventPredictionOutput
impl RequestId for GetEventPredictionOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.