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 FindMatchesMetrics = FindMatchesMetrics' {}
- newFindMatchesMetrics :: FindMatchesMetrics
- findMatchesMetrics_f1 :: Lens' FindMatchesMetrics (Maybe Double)
- findMatchesMetrics_areaUnderPRCurve :: Lens' FindMatchesMetrics (Maybe Double)
- findMatchesMetrics_recall :: Lens' FindMatchesMetrics (Maybe Double)
- findMatchesMetrics_precision :: Lens' FindMatchesMetrics (Maybe Double)
- findMatchesMetrics_columnImportances :: Lens' FindMatchesMetrics (Maybe [ColumnImportance])
- findMatchesMetrics_confusionMatrix :: Lens' FindMatchesMetrics (Maybe ConfusionMatrix)
Documentation
data FindMatchesMetrics Source #
The evaluation metrics for the find matches algorithm. The quality of your machine learning transform is measured by getting your transform to predict some matches and comparing the results to known matches from the same dataset. The quality metrics are based on a subset of your data, so they are not precise.
See: newFindMatchesMetrics
smart constructor.
FindMatchesMetrics' | |
|
Instances
newFindMatchesMetrics :: FindMatchesMetrics Source #
Create a value of FindMatchesMetrics
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:f1:FindMatchesMetrics'
, findMatchesMetrics_f1
- The maximum F1 metric indicates the transform's accuracy between 0 and
1, where 1 is the best accuracy.
For more information, see F1 score in Wikipedia.
$sel:areaUnderPRCurve:FindMatchesMetrics'
, findMatchesMetrics_areaUnderPRCurve
- The area under the precision/recall curve (AUPRC) is a single number
measuring the overall quality of the transform, that is independent of
the choice made for precision vs. recall. Higher values indicate that
you have a more attractive precision vs. recall tradeoff.
For more information, see Precision and recall in Wikipedia.
$sel:recall:FindMatchesMetrics'
, findMatchesMetrics_recall
- The recall metric indicates that for an actual match, how often your
transform predicts the match. Specifically, it measures how well the
transform finds true positives from the total records in the source
data.
For more information, see Precision and recall in Wikipedia.
$sel:precision:FindMatchesMetrics'
, findMatchesMetrics_precision
- The precision metric indicates when often your transform is correct when
it predicts a match. Specifically, it measures how well the transform
finds true positives from the total true positives possible.
For more information, see Precision and recall in Wikipedia.
$sel:columnImportances:FindMatchesMetrics'
, findMatchesMetrics_columnImportances
- A list of ColumnImportance
structures containing column importance
metrics, sorted in order of descending importance.
$sel:confusionMatrix:FindMatchesMetrics'
, findMatchesMetrics_confusionMatrix
- The confusion matrix shows you what your transform is predicting
accurately and what types of errors it is making.
For more information, see Confusion matrix in Wikipedia.
findMatchesMetrics_f1 :: Lens' FindMatchesMetrics (Maybe Double) Source #
The maximum F1 metric indicates the transform's accuracy between 0 and 1, where 1 is the best accuracy.
For more information, see F1 score in Wikipedia.
findMatchesMetrics_areaUnderPRCurve :: Lens' FindMatchesMetrics (Maybe Double) Source #
The area under the precision/recall curve (AUPRC) is a single number measuring the overall quality of the transform, that is independent of the choice made for precision vs. recall. Higher values indicate that you have a more attractive precision vs. recall tradeoff.
For more information, see Precision and recall in Wikipedia.
findMatchesMetrics_recall :: Lens' FindMatchesMetrics (Maybe Double) Source #
The recall metric indicates that for an actual match, how often your transform predicts the match. Specifically, it measures how well the transform finds true positives from the total records in the source data.
For more information, see Precision and recall in Wikipedia.
findMatchesMetrics_precision :: Lens' FindMatchesMetrics (Maybe Double) Source #
The precision metric indicates when often your transform is correct when it predicts a match. Specifically, it measures how well the transform finds true positives from the total true positives possible.
For more information, see Precision and recall in Wikipedia.
findMatchesMetrics_columnImportances :: Lens' FindMatchesMetrics (Maybe [ColumnImportance]) Source #
A list of ColumnImportance
structures containing column importance
metrics, sorted in order of descending importance.
findMatchesMetrics_confusionMatrix :: Lens' FindMatchesMetrics (Maybe ConfusionMatrix) Source #
The confusion matrix shows you what your transform is predicting accurately and what types of errors it is making.
For more information, see Confusion matrix in Wikipedia.