| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.FraudDetector.Types.MetricDataPoint
Description
Synopsis
- data MetricDataPoint = MetricDataPoint' {}
- newMetricDataPoint :: MetricDataPoint
- metricDataPoint_fpr :: Lens' MetricDataPoint (Maybe Double)
- metricDataPoint_precision :: Lens' MetricDataPoint (Maybe Double)
- metricDataPoint_threshold :: Lens' MetricDataPoint (Maybe Double)
- metricDataPoint_tpr :: Lens' MetricDataPoint (Maybe Double)
Documentation
data MetricDataPoint Source #
Model performance metrics data points.
See: newMetricDataPoint smart constructor.
Constructors
| MetricDataPoint' | |
Fields
| |
Instances
newMetricDataPoint :: MetricDataPoint Source #
Create a value of MetricDataPoint with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:fpr:MetricDataPoint', metricDataPoint_fpr - The false positive rate. This is the percentage of total legitimate
events that are incorrectly predicted as fraud.
$sel:precision:MetricDataPoint', metricDataPoint_precision - The percentage of fraud events correctly predicted as fraudulent as
compared to all events predicted as fraudulent.
$sel:threshold:MetricDataPoint', metricDataPoint_threshold - The model threshold that specifies an acceptable fraud capture rate. For
example, a threshold of 500 means any model score 500 or above is
labeled as fraud.
$sel:tpr:MetricDataPoint', metricDataPoint_tpr - The true positive rate. This is the percentage of total fraud the model
detects. Also known as capture rate.
metricDataPoint_fpr :: Lens' MetricDataPoint (Maybe Double) Source #
The false positive rate. This is the percentage of total legitimate events that are incorrectly predicted as fraud.
metricDataPoint_precision :: Lens' MetricDataPoint (Maybe Double) Source #
The percentage of fraud events correctly predicted as fraudulent as compared to all events predicted as fraudulent.
metricDataPoint_threshold :: Lens' MetricDataPoint (Maybe Double) Source #
The model threshold that specifies an acceptable fraud capture rate. For example, a threshold of 500 means any model score 500 or above is labeled as fraud.
metricDataPoint_tpr :: Lens' MetricDataPoint (Maybe Double) Source #
The true positive rate. This is the percentage of total fraud the model detects. Also known as capture rate.