/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the evaluation performance of a trained model.
* See Also:
AWS
* API Reference
The overall F1 score metric for the trained model.
*/ inline double GetF1Score() const{ return m_f1Score; } /** *The overall F1 score metric for the trained model.
*/ inline bool F1ScoreHasBeenSet() const { return m_f1ScoreHasBeenSet; } /** *The overall F1 score metric for the trained model.
*/ inline void SetF1Score(double value) { m_f1ScoreHasBeenSet = true; m_f1Score = value; } /** *The overall F1 score metric for the trained model.
*/ inline ModelPerformance& WithF1Score(double value) { SetF1Score(value); return *this;} /** *The overall recall metric value for the trained model.
*/ inline double GetRecall() const{ return m_recall; } /** *The overall recall metric value for the trained model.
*/ inline bool RecallHasBeenSet() const { return m_recallHasBeenSet; } /** *The overall recall metric value for the trained model.
*/ inline void SetRecall(double value) { m_recallHasBeenSet = true; m_recall = value; } /** *The overall recall metric value for the trained model.
*/ inline ModelPerformance& WithRecall(double value) { SetRecall(value); return *this;} /** *The overall precision metric value for the trained model.
*/ inline double GetPrecision() const{ return m_precision; } /** *The overall precision metric value for the trained model.
*/ inline bool PrecisionHasBeenSet() const { return m_precisionHasBeenSet; } /** *The overall precision metric value for the trained model.
*/ inline void SetPrecision(double value) { m_precisionHasBeenSet = true; m_precision = value; } /** *The overall precision metric value for the trained model.
*/ inline ModelPerformance& WithPrecision(double value) { SetPrecision(value); return *this;} private: double m_f1Score; bool m_f1ScoreHasBeenSet = false; double m_recall; bool m_recallHasBeenSet = false; double m_precision; bool m_precisionHasBeenSet = false; }; } // namespace Model } // namespace LookoutforVision } // namespace Aws