plot_rfecv
method plot_rfecv(title=None,
figsize=(10, 6), filename=None, display=True)
[source]
Plot the RFECV results, i.e. the scores obtained by the estimator fitted on every subset of the dataset. Only available if RFECV was applied on the data.
Parameters: |
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: |
fig: matplotlib.figure.Figure Plot object. Only returned if display=None .
|
Example
from atom import ATOMClassifier
atom = ATOMClassifier(X, y)
atom.feature_selection(strategy="RFECV", solver="LGB", scoring="precision")
atom.plot_rfecv()
