AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModelPerformance.h
1
6#pragma once
7#include <aws/lookoutvision/LookoutforVision_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace LookoutforVision
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_LOOKOUTFORVISION_API ModelPerformance();
34 AWS_LOOKOUTFORVISION_API ModelPerformance(Aws::Utils::Json::JsonView jsonValue);
35 AWS_LOOKOUTFORVISION_API ModelPerformance& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline double GetF1Score() const{ return m_f1Score; }
44 inline bool F1ScoreHasBeenSet() const { return m_f1ScoreHasBeenSet; }
45 inline void SetF1Score(double value) { m_f1ScoreHasBeenSet = true; m_f1Score = value; }
46 inline ModelPerformance& WithF1Score(double value) { SetF1Score(value); return *this;}
48
50
53 inline double GetRecall() const{ return m_recall; }
54 inline bool RecallHasBeenSet() const { return m_recallHasBeenSet; }
55 inline void SetRecall(double value) { m_recallHasBeenSet = true; m_recall = value; }
56 inline ModelPerformance& WithRecall(double value) { SetRecall(value); return *this;}
58
60
63 inline double GetPrecision() const{ return m_precision; }
64 inline bool PrecisionHasBeenSet() const { return m_precisionHasBeenSet; }
65 inline void SetPrecision(double value) { m_precisionHasBeenSet = true; m_precision = value; }
66 inline ModelPerformance& WithPrecision(double value) { SetPrecision(value); return *this;}
68 private:
69
70 double m_f1Score;
71 bool m_f1ScoreHasBeenSet = false;
72
73 double m_recall;
74 bool m_recallHasBeenSet = false;
75
76 double m_precision;
77 bool m_precisionHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace LookoutforVision
82} // namespace Aws
ModelPerformance & WithPrecision(double value)
ModelPerformance & WithF1Score(double value)
AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LOOKOUTFORVISION_API ModelPerformance()
AWS_LOOKOUTFORVISION_API ModelPerformance(Aws::Utils::Json::JsonView jsonValue)
ModelPerformance & WithRecall(double value)
AWS_LOOKOUTFORVISION_API ModelPerformance & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue