visual_block_kind#
- visual_block_kind()[source]#
How to display html representation of a meta-estimator in a jupyter notebook.
String name:
"visual_block_kind"Extension developer tag
Values: string, one of
"single","serial","parallel"Example:
"single"Default:
"single"
This tag specifies how to display the html representation of a meta-estimator in a jupyter notebook.
Meta-estimators are composites with a variable number of sub-estimators, such as
ForecastingPipelineorColumnTransformer, inheriting from_HeterogenousMetaEstimator.The html display is triggered by calling the
_repr_html_method on anyscikit-baseestimator, which returns a html representation of the estimator, used by default in jupyter notebooks, or also other html display environments.Possible values are:
"single": the meta-estimator is displayed as a single block in the notebook."serial": the meta-estimator is displayed as a series of blocks, one for each sub-estimator, in a serial layout, i.e., as a vertical stack."parallel": the meta-estimator is displayed as a series of blocks, one for each sub-estimator, in a parallel layout, i.e., as a horizontal stack.