AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FlywheelModelEvaluationMetrics.h
1
6#pragma once
7#include <aws/comprehend/Comprehend_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 Comprehend
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_COMPREHEND_API FlywheelModelEvaluationMetrics();
36 AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline double GetAverageF1Score() const{ return m_averageF1Score; }
44 inline bool AverageF1ScoreHasBeenSet() const { return m_averageF1ScoreHasBeenSet; }
45 inline void SetAverageF1Score(double value) { m_averageF1ScoreHasBeenSet = true; m_averageF1Score = value; }
46 inline FlywheelModelEvaluationMetrics& WithAverageF1Score(double value) { SetAverageF1Score(value); return *this;}
48
50
53 inline double GetAveragePrecision() const{ return m_averagePrecision; }
54 inline bool AveragePrecisionHasBeenSet() const { return m_averagePrecisionHasBeenSet; }
55 inline void SetAveragePrecision(double value) { m_averagePrecisionHasBeenSet = true; m_averagePrecision = value; }
56 inline FlywheelModelEvaluationMetrics& WithAveragePrecision(double value) { SetAveragePrecision(value); return *this;}
58
60
63 inline double GetAverageRecall() const{ return m_averageRecall; }
64 inline bool AverageRecallHasBeenSet() const { return m_averageRecallHasBeenSet; }
65 inline void SetAverageRecall(double value) { m_averageRecallHasBeenSet = true; m_averageRecall = value; }
66 inline FlywheelModelEvaluationMetrics& WithAverageRecall(double value) { SetAverageRecall(value); return *this;}
68
70
73 inline double GetAverageAccuracy() const{ return m_averageAccuracy; }
74 inline bool AverageAccuracyHasBeenSet() const { return m_averageAccuracyHasBeenSet; }
75 inline void SetAverageAccuracy(double value) { m_averageAccuracyHasBeenSet = true; m_averageAccuracy = value; }
76 inline FlywheelModelEvaluationMetrics& WithAverageAccuracy(double value) { SetAverageAccuracy(value); return *this;}
78 private:
79
80 double m_averageF1Score;
81 bool m_averageF1ScoreHasBeenSet = false;
82
83 double m_averagePrecision;
84 bool m_averagePrecisionHasBeenSet = false;
85
86 double m_averageRecall;
87 bool m_averageRecallHasBeenSet = false;
88
89 double m_averageAccuracy;
90 bool m_averageAccuracyHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Comprehend
95} // namespace Aws
FlywheelModelEvaluationMetrics & WithAverageAccuracy(double value)
AWS_COMPREHEND_API FlywheelModelEvaluationMetrics(Aws::Utils::Json::JsonView jsonValue)
FlywheelModelEvaluationMetrics & WithAverageRecall(double value)
FlywheelModelEvaluationMetrics & WithAverageF1Score(double value)
AWS_COMPREHEND_API FlywheelModelEvaluationMetrics & operator=(Aws::Utils::Json::JsonView jsonValue)
FlywheelModelEvaluationMetrics & WithAveragePrecision(double value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue