7#include <aws/comprehend/Comprehend_EXPORTS.h>
41 m_accuracyHasBeenSet =
true;
59 m_precisionHasBeenSet =
true;
73 inline double GetRecall()
const {
return m_recall; }
76 m_recallHasBeenSet =
true;
95 m_f1ScoreHasBeenSet =
true;
115 m_microPrecisionHasBeenSet =
true;
116 m_microPrecision = value;
137 m_microRecallHasBeenSet =
true;
138 m_microRecall = value;
156 m_microF1ScoreHasBeenSet =
true;
157 m_microF1Score = value;
174 m_hammingLossHasBeenSet =
true;
175 m_hammingLoss = value;
183 double m_accuracy{0.0};
185 double m_precision{0.0};
187 double m_recall{0.0};
189 double m_f1Score{0.0};
191 double m_microPrecision{0.0};
193 double m_microRecall{0.0};
195 double m_microF1Score{0.0};
197 double m_hammingLoss{0.0};
198 bool m_accuracyHasBeenSet =
false;
199 bool m_precisionHasBeenSet =
false;
200 bool m_recallHasBeenSet =
false;
201 bool m_f1ScoreHasBeenSet =
false;
202 bool m_microPrecisionHasBeenSet =
false;
203 bool m_microRecallHasBeenSet =
false;
204 bool m_microF1ScoreHasBeenSet =
false;
205 bool m_hammingLossHasBeenSet =
false;
double GetPrecision() const
ClassifierEvaluationMetrics & WithHammingLoss(double value)
void SetMicroRecall(double value)
bool RecallHasBeenSet() const
bool AccuracyHasBeenSet() const
ClassifierEvaluationMetrics & WithMicroPrecision(double value)
ClassifierEvaluationMetrics & WithMicroF1Score(double value)
double GetAccuracy() const
bool HammingLossHasBeenSet() const
void SetPrecision(double value)
AWS_COMPREHEND_API ClassifierEvaluationMetrics(Aws::Utils::Json::JsonView jsonValue)
ClassifierEvaluationMetrics & WithF1Score(double value)
bool MicroPrecisionHasBeenSet() const
bool F1ScoreHasBeenSet() const
double GetMicroRecall() const
void SetMicroF1Score(double value)
ClassifierEvaluationMetrics & WithRecall(double value)
void SetHammingLoss(double value)
double GetMicroF1Score() const
double GetF1Score() const
double GetMicroPrecision() const
ClassifierEvaluationMetrics & WithPrecision(double value)
ClassifierEvaluationMetrics & WithMicroRecall(double value)
AWS_COMPREHEND_API ClassifierEvaluationMetrics & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRecall(double value)
bool MicroRecallHasBeenSet() const
void SetF1Score(double value)
bool MicroF1ScoreHasBeenSet() const
void SetAccuracy(double value)
bool PrecisionHasBeenSet() const
AWS_COMPREHEND_API ClassifierEvaluationMetrics()=default
ClassifierEvaluationMetrics & WithAccuracy(double value)
void SetMicroPrecision(double value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
double GetHammingLoss() const
Aws::Utils::Json::JsonValue JsonValue