plot_pipeline
Plot a diagram of a model's pipeline.
Parameters: |
model: str or None, optional (default=None)
show_params: bool, optional (default=True)
title: str or None, optional (default=None)
figsize: tuple or None, optional (default=None)
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.impute(strat_num="median", strat_cat="drop", max_nan_rows=0.8)
atom.encode(strategy="LeaveOneOut", max_onehot=8, frac_to_other=0.02)
atom.balance(strategy="adasyn", sampling_strategy=1.0)
atom.run("LR", metric="auc", n_calls=10)
atom.plot_pipeline(model="LR")