pegasystems/pega-datascientist-tools

Add back active range check in R Off-line Model Report

Closed this issue · 1 comments

pdstools version checks

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest version of pdstools.

Issue description

The AUC (re)calculation in the off-line model report notebook does not take into account the current active range. It currently uses all classifier bins.

I did have code somewhere to find the actual range. TODO: find that back and use it to calculate the AUC's so they match up with the AUC that comes back from Pega.

Reproducible example

See model overview section in modelreport.Rmd

Expected behavior

Only take into account active range