plot_feature_learnability

plot_feature_learnability#

mlproject.plotting.dependency_graph.plot_feature_learnability(results, title='Feature Learnability', n_feats=20, save_path=None)[source]#

Create a horizontal bar chart visualization of R² (mean ± std).

Parameters:
  • results (pd.DataFrame) – Must contain ‘R2_mean’ and ‘R2_std’.

  • title (str) – Plot title.

  • n_feats (int) – Number of top learned features to plot

  • save_path (str, optional) – If provided, saves the figure.

Return type:

None