Documentation for GenerateResultBox
This module is inherited from ResultSet class and allows for results generation.
get_optimal_threshold(self)
Get optimal threshold to convert predictions in a binary class based on the training set predictions.
| Returns: |
|
|---|
get_results(self, label=None)
Generate a dataframe containing standard results based on the labels and predictions.
| Parameters: |
|
|---|
| Returns: |
|
|---|
get_stats_with_ci(self, label=None, nsamples=2000)
Classification report with confidence intervals.
| Parameters: |
|
|---|
| Returns: |
|
|---|
plot_roc_auc_ci(self, title='', nsamples=2000, save_fig=False)
Plot the roc curve(s) of the different datasets available.
| Parameters: |
|
|---|
| Returns: |
|
|---|
print_confusion_matrix(self, label=None, class_names=None, figsize=(6, 5), fontsize=14, normalize=True, save_fig=False)
Print confusion matrix.
| Parameters: |
|
|---|
| Returns: |
|
|---|