utils

Helper utilities.

Methods

create_cd

Description

Generate the columns description file with the given structure.

eval_metric

Description

Calculate the specified metric on raw approximated values of the formula and label values.

get_confusion_matrix

Description

Build a confusion matrix CC, such that Ci,jC_{i,j} is equal to the number of observations known to be in group ii but predicted to be in group jj.

get_gpu_device_count

Description

Return the number of available GPU devices.

get_fnr_curve

Description

Return points of the FNR curve.

get_fpr_curve

Description

Return points of the FPR curve.

get_roc_curve

Description

Return points of the ROC curve.

quantize

Description

Create a pool from a file and quantize it while loading the data. This compresses the size of the initial dataset and provides an opportunity to load huge datasets that can not be loaded to RAM otherwise.

Note

The input data should contain only numerical features (other types are not currently supported).

select_threshold

Description

Return the probability boundary required to achieve the specified false positive or false negative rate.

Previous