7#include <aws/comprehend/Comprehend_EXPORTS.h>
47 inline void SetAccuracy(
double value) { m_accuracyHasBeenSet =
true; m_accuracy = value; }
59 inline void SetPrecision(
double value) { m_precisionHasBeenSet =
true; m_precision = value; }
70 inline void SetRecall(
double value) { m_recallHasBeenSet =
true; m_recall = value; }
83 inline void SetF1Score(
double value) { m_f1ScoreHasBeenSet =
true; m_f1Score = value; }
97 inline void SetMicroPrecision(
double value) { m_microPrecisionHasBeenSet =
true; m_microPrecision = value; }
113 inline void SetMicroRecall(
double value) { m_microRecallHasBeenSet =
true; m_microRecall = value; }
126 inline void SetMicroF1Score(
double value) { m_microF1ScoreHasBeenSet =
true; m_microF1Score = value; }
138 inline void SetHammingLoss(
double value) { m_hammingLossHasBeenSet =
true; m_hammingLoss = value; }
144 bool m_accuracyHasBeenSet =
false;
147 bool m_precisionHasBeenSet =
false;
150 bool m_recallHasBeenSet =
false;
153 bool m_f1ScoreHasBeenSet =
false;
155 double m_microPrecision;
156 bool m_microPrecisionHasBeenSet =
false;
158 double m_microRecall;
159 bool m_microRecallHasBeenSet =
false;
161 double m_microF1Score;
162 bool m_microF1ScoreHasBeenSet =
false;
164 double m_hammingLoss;
165 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
ClassifierEvaluationMetrics & WithAccuracy(double value)
void SetMicroPrecision(double value)
AWS_COMPREHEND_API ClassifierEvaluationMetrics()
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
double GetHammingLoss() const
Aws::Utils::Json::JsonValue JsonValue