Accessing raw data
Raw data and wrapped class objects for the TransformedOutcome
method are stored as class attributes. The wrapped class objects are described in the Usage: modeling section.
Everything else, from processed data to the transformation functions can be accessed as listed below:
Evaluation curve information
The raw data for all evaluation curves can be accessed within any UpliftEval
object (upev
below):
where the phrase PLOTTYPE
can be replaced with any of the following: qini
, aqini
, cgains
, cuplift
, balance
, uplift
. Because up.test_results_
and up.train_results_
are UpliftEval
class objects, they can also be similarly accessed as shown above.
The theoretical maximum curves can also be extracted:
up.train_results_
can be used to plot the qini performance on the training data, as follows: up.train_results_.plot_qini()
.
Last updated