plot_sequential_feature_selection
plot_sequential_feature_selection(metric_dict, kind='std_dev', color='blue', bcolor='steelblue', marker='o', alpha=0.2, ylabel='Performance', confidence_interval=0.95)
Plot feature selection results.
Parameters
-
metric_dict
: mlxtend.SequentialFeatureSelector.get_metric_dict() object -
kind
: str (default: "std_dev")The kind of error bar or confidence interval in {'std_dev', 'std_err', 'ci', None}.
-
color
: str (default: "blue")Color of the lineplot (accepts any matplotlib color name)
-
bcolor
: str (default: "steelblue").Color of the error bars / confidence intervals (accepts any matplotlib color name).
-
marker
: str (default: "o")Marker of the line plot (accepts any matplotlib marker name).
-
alpha
: float in [0, 1] (default: 0.2)Transparency of the error bars / confidence intervals.
-
ylabel
: str (default: "Performance")Y-axis label.
-
confidence_interval
: float (default: 0.95)Confidence level if
kind='ci'
.
Returns
fig
: matplotlib.pyplot.figure() object
Examples
For usage examples, please see http://rasbt.github.io/mlxtend/user_guide/plotting/plot_sequential_feature_selection/