estimator_html_repr#
- sklearn.utils.estimator_html_repr(estimator)[源代码]#
- 构建估计器的HTML表示。 - 更多信息请参见 用户指南。 - 参数:
- estimator估计器对象
- 要可视化的估计器。 
 
- 返回:
- html: str
- 估计器的HTML表示。 
 
 - 示例 - >>> from sklearn.utils._estimator_html_repr import estimator_html_repr >>> from sklearn.linear_model import LogisticRegression >>> estimator_html_repr(LogisticRegression()) '<style>...</div>' 
