plot_probabilities
Plot the probability distribution of the classes in the target column. Only for classification tasks.
Parameters: |
models: str, sequence or None, optional (default=None)
dataset: str, optional (default="test")
target: int or str, optional (default=1)
title: str or None, optional (default=None)
figsize: tuple, optional (default=(10, 6))
filename: str or None, optional (default=None)
display: bool or None, optional (default=True) |
Returns: |
matplotlib.figure.Figure Plot object. Only returned if display=None .
|
Example
from atom import ATOMClassifier
atom = ATOMClassifier(X, y="RainTomorrow")
atom.run("rf")
atom.plot_probabilities()