Struct aws_sdk_rekognition::model::evaluation_result::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for EvaluationResult.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn f1_score(self, input: f32) -> Self
pub fn f1_score(self, input: f32) -> Self
The F1 score for the evaluation of all labels. The F1 score metric evaluates the overall precision and recall performance of the model as a single value. A higher value indicates better precision and recall performance. A lower score indicates that precision, recall, or both are performing poorly.
sourcepub fn set_f1_score(self, input: Option<f32>) -> Self
pub fn set_f1_score(self, input: Option<f32>) -> Self
The F1 score for the evaluation of all labels. The F1 score metric evaluates the overall precision and recall performance of the model as a single value. A higher value indicates better precision and recall performance. A lower score indicates that precision, recall, or both are performing poorly.
sourcepub fn set_summary(self, input: Option<Summary>) -> Self
pub fn set_summary(self, input: Option<Summary>) -> Self
The S3 bucket that contains the training summary.
sourcepub fn build(self) -> EvaluationResult
pub fn build(self) -> EvaluationResult
Consumes the builder and constructs a EvaluationResult.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more