estimator_html_repr#
- sklearn.utils.estimator_html_repr(estimator)[源代码]#
构建估计器的HTML表示。
阅读更多的 User Guide .
- 参数:
- estimator估计器对象
要可视化的估计器。
- 返回:
- html:字符串
估计器的HTML表示。
示例
>>> from sklearn.utils._estimator_html_repr import estimator_html_repr >>> from sklearn.linear_model import LogisticRegression >>> estimator_html_repr(LogisticRegression()) '<style>...</div>'