R Observatory
Search

CustomerScoringMetrics

1.0.0CRAN

Evaluation Metrics for Customer Scoring Models Depending on Binary Classifiers

install.packages("CustomerScoringMetrics")
CRAN checks, method
OKnotes on 2 of 13
CRAN 30-day downloads, method
234−13.7% down on the 30 days before, the worse direction

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.

Full description

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.

Maintainer
Koen W. De Bock
Licence
GPL (>= 2)
Latest release
6 Apr 2018
First release
6 Apr 2018

Compare with another package

More details
Releases
1
Needs compilation
No
LazyData
true
RoxygenNote
6.0.1
Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' preferred citation:

citation("CustomerScoringMetrics")

R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA
Balamuta, J. J. (2026). R Observatory: Metrics for CustomerScoringMetrics version 1.0.0 [Data set]. HJJB, LLC. Data release v2026-10-28. https://doi.org/10.5281/zenodo.21843040
About

From data release v2026-10-28, which the citation names so these numbers can be found later.

No warnings or errors. 2 of 13 check platforms have notes.

  • r-devel-linux-x86_64-debian-clang

    The unreleased R on Linux, x86_64, debian-clang

    Note

    Version checked
    1.0.0
    Time taken
    26 s

    CRAN incoming feasibility: Note

    Maintainer: ‘Koen W. De Bock <kdebock@audencia.com>’

    Full output

  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    Note

    Version checked
    1.0.0
    Time taken
    21 s

    CRAN incoming feasibility: Note

    Maintainer: ‘Koen W. De Bock <kdebock@audencia.com>’

    Full output

  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    OK

    Version checked
    1.0.0
    Time taken
    18 s
  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    OK

    Version checked
    1.0.0
    Time taken
    17 s
  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    1.0.0
    Time taken
    59 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    1.0.0
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    1.0.0
    Time taken
    24 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    1.0.0
    Time taken
    41 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    1.0.0
    Time taken
    24 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    1.0.0
    Time taken
    23 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    1.0.0
    Time taken
    10 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    1.0.0
    Time taken
    26 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    1.0.0
    Time taken
    45 s
  • 2 Note
  • 11 OK
Check output (1)

CRAN incoming feasibility, Note on 2 platforms

Maintainer: ‘Koen W. De Bock <kdebock@audencia.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = c("Koen", "W."),
                    family = "De Bock",
                    role = c("aut", "cre"),
                    email = "kdebock@audencia.com")
as necessary.

Check results on CRAN

Total downloads in the last 30 days
239−16.4% down on the 30 days before, the worse directionIt is the sum of 3 channels: CRAN, r2u and autoCRAN.

CRAN rank

19,381 of 26,530

CRAN

234 downloads in the last 30 days

Rank
19,381 of 26,530
Change
−13.7% down on the 30 days before, the worse direction

It is in the total. Take it out

r2u

2 downloads in the last 30 days

Rank
14,902 of 30,526
Change
−66.7% down on the 30 days before, the worse direction

It is in the total. Take it out

autoCRAN

3 downloads in the last 30 days

Rank
17,776 of 29,212
Change
−66.7% down on the 30 days before, the worse direction

It is in the total. Take it out

Over time

Compare downloads

Needs
0
Dependent packages
0
Suggested by
0
Functions
13
Public exports
13
Lines of R code
585
Median complexity
2
Functions (13)
Size and composition

Lines by kind (1,249)

KindLinesShare
R code58547%
Documentation66453%

Lines by language

LanguageLinesShare
Rd66453%
R58547%

Languages are counted from file extensions.

Files
31
R functions
13
Complexity
Median
2
Mean
3.15
Highest
11
Median lines per function
9
About complexity

Cyclomatic complexity counts the independent paths through a function: 1 is a straight line, higher is harder to test. R functions only.

Call graph figures
R functions
13
Calls
24
Unconnected
0
Groups
1

The package was built and has no tests to run.

Lines of tests
0
Exports named in tests
0%
Test suite
Has tests
No
Test frameworks
No tests in this release
Test lines per line of code
0
Exports documented
100%
Arguments documented
96.5%
Return value documented
69.2%
Help pages with examples
100%
Examples run in checks
100%
Other documentation
README
No
Release notes file
No
Help pages
14
Lines of documentation
664
DatasetSize
responseresponse datalength 2

No repository on record

R releases
  • On CRAN
  • Release
VersionReleasedR
1.0.0 current6 Apr 20183.4.4