Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data MetricDataPoint = MetricDataPoint' {}
- newMetricDataPoint :: MetricDataPoint
- metricDataPoint_precision :: Lens' MetricDataPoint (Maybe Double)
- metricDataPoint_fpr :: 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.
MetricDataPoint' | |
|
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:precision:MetricDataPoint'
, metricDataPoint_precision
- The percentage of fraud events correctly predicted as fraudulent as
compared to all events predicted as fraudulent.
$sel:fpr:MetricDataPoint'
, metricDataPoint_fpr
- The false positive rate. This is the percentage of total legitimate
events that are incorrectly predicted as fraud.
$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_precision :: Lens' MetricDataPoint (Maybe Double) Source #
The percentage of fraud events correctly predicted as fraudulent as compared to all events predicted as fraudulent.
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_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.