Metrics

class getml.pipeline.Metrics(name)[source]

Custom class for handling the metrics generated by the pipeline.

Example:

recall, precision = my_pipeline.metrics.precision_recall_curve()

fpr, tpr = my_pipeline.metrics.roc_curve()

Methods

lift_curve([target_num])

Returns the data for the lift curve, as displayed in the getML monitor.

precision_recall_curve([target_num])

Returns the data for the precision-recall curve, as displayed in the getML monitor.

roc_curve([target_num])

Returns the data for the ROC curve, as displayed in the getML monitor.