Build a HTML representation of an estimator.
Read more in the User Guide.
The estimator to visualize.
HTML representation of estimator.
>>> from sklearn.utils._estimator_html_repr import estimator_html_repr >>> from sklearn.linear_model import LogisticRegression >>> estimator_html_repr(LogisticRegression()) '<style>...</div>'
© 2007–2025 The scikit-learn developers
Licensed under the 3-clause BSD License.
https://scikit-learn.org/1.6/modules/generated/sklearn.utils.estimator_html_repr.html