You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Display all parameter values in a tabular for a tab of the notebook HTML repr of estimators #21266
I would to make it easy to quickly introspect the default hyperparameter values of scikit-learn estimator in a jupyter notebook session.
Describe your proposed solution
The HTML widget returned by BaseEstimator._repr_mimebundle_ could display a tab with a tabular rendering of the content of the estimator.get_params() method.
In the case of meta-estimators with complex diagrams, we could optionally have an option to display this only for a subestimator of interest but I have no particular UI suggestion in mind.
Additional context
Loosely related to #21240 which is about another improvement, this time for the text rendering of complex estimators.
Activity
ogrisel commentedon Oct 7, 2021
Other ideas:
feature_names_in_as a list (possibly ellipsed in the middle if longer than 100 elements).ogrisel commentedon Mar 19, 2025
Note that it's possible to generate links to the relevant part of the online doc for each individual parameter using text fragments:
#30763 (comment)