A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://scikit-learn.org/stable/developers/../modules/generated/sklearn.utils.TransformerTags.html below:

TransformerTags — scikit-learn 1.7.0 documentation

TransformerTags#
class sklearn.utils.TransformerTags(preserves_dtype: list[str] = <factory>)[source]#

Tags for the transformer.

Parameters:
preserves_dtypelist[str], default=[“float64”]

Applies only on transformers. It corresponds to the data types which will be preserved such that X_trans.dtype is the same as X.dtype after calling transformer.transform(X). If this list is empty, then the transformer is not expected to preserve the data type. The first value in the list is considered as the default data type, corresponding to the data type of the output when the input data type is not going to be preserved.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4