sklearn.utils
.estimator_html_repr¶
- sklearn.utils.estimator_html_repr(estimator)[source]¶
Build a HTML representation of an estimator.
Read more in the User Guide.
- Parameters:
- estimatorestimator object
The estimator to visualize.
- Returns:
- html: str
HTML representation of estimator.
Examples
>>> from sklearn.utils._estimator_html_repr import estimator_html_repr >>> from sklearn.linear_model import LogisticRegression >>> estimator_html_repr(LogisticRegression()) '<style>...</div>'