/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The evaluation results for the training of a model.See Also:
* AWS
* API Reference
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.
*/ inline double GetF1Score() const{ return m_f1Score; } /** *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.
*/ inline bool F1ScoreHasBeenSet() const { return m_f1ScoreHasBeenSet; } /** *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.
*/ inline void SetF1Score(double value) { m_f1ScoreHasBeenSet = true; m_f1Score = value; } /** *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.
*/ inline EvaluationResult& WithF1Score(double value) { SetF1Score(value); return *this;} /** *The S3 bucket that contains the training summary.
*/ inline const Summary& GetSummary() const{ return m_summary; } /** *The S3 bucket that contains the training summary.
*/ inline bool SummaryHasBeenSet() const { return m_summaryHasBeenSet; } /** *The S3 bucket that contains the training summary.
*/ inline void SetSummary(const Summary& value) { m_summaryHasBeenSet = true; m_summary = value; } /** *The S3 bucket that contains the training summary.
*/ inline void SetSummary(Summary&& value) { m_summaryHasBeenSet = true; m_summary = std::move(value); } /** *The S3 bucket that contains the training summary.
*/ inline EvaluationResult& WithSummary(const Summary& value) { SetSummary(value); return *this;} /** *The S3 bucket that contains the training summary.
*/ inline EvaluationResult& WithSummary(Summary&& value) { SetSummary(std::move(value)); return *this;} private: double m_f1Score; bool m_f1ScoreHasBeenSet = false; Summary m_summary; bool m_summaryHasBeenSet = false; }; } // namespace Model } // namespace Rekognition } // namespace Aws