holisticai.robustness.plots#
Binary Classification
Plots a 2D scatter plot of a dataset, with options to highlight or exclusively show a subset of points. |
|
Plots a 2D scatter plot of a dataset, displaying both the true labels (y) and the predicted labels (y_pred) with a slight vertical offset for distinction. |
|
Plots a 2D scatter plot of the dataset, highlighting the neighborhood of specific points of interest and calculating accuracy over the selected neighbors. |
|
Plots the Accuracy Degradation Profile (ADP) in a 2D plot, showing the percentage of samples above the threshold (ADP) on the vertical axis and dataset size (size_factor) on the horizontal axis, with the x-axis reversed. |