Package: CustomerScoringMetrics 1.0.0
CustomerScoringMetrics: Evaluation Metrics for Customer Scoring Models Depending on Binary Classifiers
Functions for evaluating and visualizing predictive model performance (specifically: binary classifiers) in the field of customer scoring. These metrics include lift, lift index, gain percentage, top-decile lift, F1-score, expected misclassification cost and absolute misclassification cost. See Berry & Linoff (2004, ISBN:0-471-47064-3), Witten and Frank (2005, 0-12-088407-0) and Blattberg, Kim & Neslin (2008, ISBN:978–0–387–72578–9) for details. Visualization functions are included for lift charts and gain percentage charts. All metrics that require class predictions offer the possibility to dynamically determine cutoff values for transforming real-valued probability predictions into class predictions.
Authors:
CustomerScoringMetrics_1.0.0.tar.gz
CustomerScoringMetrics_1.0.0.zip(r-4.7)CustomerScoringMetrics_1.0.0.zip(r-4.6)CustomerScoringMetrics_1.0.0.zip(r-4.5)
CustomerScoringMetrics_1.0.0.tgz(r-4.6-any)CustomerScoringMetrics_1.0.0.tgz(r-4.5-any)
CustomerScoringMetrics_1.0.0.tar.gz(r-4.7-any)CustomerScoringMetrics_1.0.0.tar.gz(r-4.6-any)
CustomerScoringMetrics_1.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
CustomerScoringMetrics/json (API)
| # Install 'CustomerScoringMetrics' in R: |
| install.packages('CustomerScoringMetrics', repos = c('https://koendebock.r-universe.dev', 'https://cloud.r-project.org')) |
- response - Response data
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated from:09f407d8ba. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 108 | ||
| source / vignettes | OK | 133 | ||
| linux-release-x86_64 | OK | 94 | ||
| macos-release-arm64 | OK | 161 | ||
| macos-oldrel-arm64 | OK | 146 | ||
| windows-devel | OK | 67 | ||
| windows-release | OK | 54 | ||
| windows-oldrel | OK | 59 | ||
| wasm-release | OK | 94 |
Exports:checkDepVectorconfMatrixMetricscumGainsChartcumGainsTablecutoffSensitivityPlotdynAccuracydynConfMatrixexpMisclassCostliftChartliftIndexliftTablemisclassCosttopDecileLift
Dependencies:
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Perform check on the true class label vector | checkDepVector |
| Obtain several metrics based on the confusion matrix | confMatrixMetrics |
| Plot a cumulative gains chart | cumGainsChart |
| Calculates cumulative gains table | cumGainsTable |
| Plot a sensitivity plot for cutoff values | cutoffSensitivityPlot |
| Calculate accuracy | dynAccuracy |
| Calculate a confusion matrix | dynConfMatrix |
| Calculate expected misclassification cost | expMisclassCost |
| Generate a lift chart | liftChart |
| Calculate lift index | liftIndex |
| Calculate lift table | liftTable |
| Calculate misclassification cost | misclassCost |
| response data | response |
| Calculate top-decile lift | topDecileLift |
