AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FindMatchesMetrics.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/model/ConfusionMatrix.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/glue/model/ColumnImportance.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Glue
24{
25namespace Model
26{
27
38 {
39 public:
40 AWS_GLUE_API FindMatchesMetrics();
44
45
47
55 inline double GetAreaUnderPRCurve() const{ return m_areaUnderPRCurve; }
56 inline bool AreaUnderPRCurveHasBeenSet() const { return m_areaUnderPRCurveHasBeenSet; }
57 inline void SetAreaUnderPRCurve(double value) { m_areaUnderPRCurveHasBeenSet = true; m_areaUnderPRCurve = value; }
58 inline FindMatchesMetrics& WithAreaUnderPRCurve(double value) { SetAreaUnderPRCurve(value); return *this;}
60
62
69 inline double GetPrecision() const{ return m_precision; }
70 inline bool PrecisionHasBeenSet() const { return m_precisionHasBeenSet; }
71 inline void SetPrecision(double value) { m_precisionHasBeenSet = true; m_precision = value; }
72 inline FindMatchesMetrics& WithPrecision(double value) { SetPrecision(value); return *this;}
74
76
84 inline double GetRecall() const{ return m_recall; }
85 inline bool RecallHasBeenSet() const { return m_recallHasBeenSet; }
86 inline void SetRecall(double value) { m_recallHasBeenSet = true; m_recall = value; }
87 inline FindMatchesMetrics& WithRecall(double value) { SetRecall(value); return *this;}
89
91
96 inline double GetF1() const{ return m_f1; }
97 inline bool F1HasBeenSet() const { return m_f1HasBeenSet; }
98 inline void SetF1(double value) { m_f1HasBeenSet = true; m_f1 = value; }
99 inline FindMatchesMetrics& WithF1(double value) { SetF1(value); return *this;}
101
103
109 inline const ConfusionMatrix& GetConfusionMatrix() const{ return m_confusionMatrix; }
110 inline bool ConfusionMatrixHasBeenSet() const { return m_confusionMatrixHasBeenSet; }
111 inline void SetConfusionMatrix(const ConfusionMatrix& value) { m_confusionMatrixHasBeenSet = true; m_confusionMatrix = value; }
112 inline void SetConfusionMatrix(ConfusionMatrix&& value) { m_confusionMatrixHasBeenSet = true; m_confusionMatrix = std::move(value); }
113 inline FindMatchesMetrics& WithConfusionMatrix(const ConfusionMatrix& value) { SetConfusionMatrix(value); return *this;}
114 inline FindMatchesMetrics& WithConfusionMatrix(ConfusionMatrix&& value) { SetConfusionMatrix(std::move(value)); return *this;}
116
118
122 inline const Aws::Vector<ColumnImportance>& GetColumnImportances() const{ return m_columnImportances; }
123 inline bool ColumnImportancesHasBeenSet() const { return m_columnImportancesHasBeenSet; }
124 inline void SetColumnImportances(const Aws::Vector<ColumnImportance>& value) { m_columnImportancesHasBeenSet = true; m_columnImportances = value; }
125 inline void SetColumnImportances(Aws::Vector<ColumnImportance>&& value) { m_columnImportancesHasBeenSet = true; m_columnImportances = std::move(value); }
128 inline FindMatchesMetrics& AddColumnImportances(const ColumnImportance& value) { m_columnImportancesHasBeenSet = true; m_columnImportances.push_back(value); return *this; }
129 inline FindMatchesMetrics& AddColumnImportances(ColumnImportance&& value) { m_columnImportancesHasBeenSet = true; m_columnImportances.push_back(std::move(value)); return *this; }
131 private:
132
133 double m_areaUnderPRCurve;
134 bool m_areaUnderPRCurveHasBeenSet = false;
135
136 double m_precision;
137 bool m_precisionHasBeenSet = false;
138
139 double m_recall;
140 bool m_recallHasBeenSet = false;
141
142 double m_f1;
143 bool m_f1HasBeenSet = false;
144
145 ConfusionMatrix m_confusionMatrix;
146 bool m_confusionMatrixHasBeenSet = false;
147
148 Aws::Vector<ColumnImportance> m_columnImportances;
149 bool m_columnImportancesHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace Glue
154} // namespace Aws
const ConfusionMatrix & GetConfusionMatrix() const
void SetConfusionMatrix(ConfusionMatrix &&value)
const Aws::Vector< ColumnImportance > & GetColumnImportances() const
FindMatchesMetrics & WithF1(double value)
FindMatchesMetrics & WithConfusionMatrix(const ConfusionMatrix &value)
FindMatchesMetrics & AddColumnImportances(ColumnImportance &&value)
FindMatchesMetrics & WithColumnImportances(const Aws::Vector< ColumnImportance > &value)
FindMatchesMetrics & WithColumnImportances(Aws::Vector< ColumnImportance > &&value)
FindMatchesMetrics & WithPrecision(double value)
AWS_GLUE_API FindMatchesMetrics(Aws::Utils::Json::JsonView jsonValue)
void SetColumnImportances(Aws::Vector< ColumnImportance > &&value)
FindMatchesMetrics & AddColumnImportances(const ColumnImportance &value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
FindMatchesMetrics & WithConfusionMatrix(ConfusionMatrix &&value)
FindMatchesMetrics & WithRecall(double value)
AWS_GLUE_API FindMatchesMetrics & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetColumnImportances(const Aws::Vector< ColumnImportance > &value)
void SetConfusionMatrix(const ConfusionMatrix &value)
FindMatchesMetrics & WithAreaUnderPRCurve(double value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue