Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/scikit-learn/scikit-learn
/ fit_transform
Method
fit_transform
sklearn/utils/_testing.py:1295–1296 ·
view source on GitHub ↗
(self, X, y=None)
Source
from the content-addressed store, hash-verified
1293
return
X
1294
1295
def
fit_transform(self, X, y=None):
1296
return
self.fit(X, y).transform(X, y)
1297
1298
def
__sklearn_tags__(self):
1299
return
Tags(
Callers
12
_regression_dataset
Function · 0.45
check_transformer_general
Function · 0.45
check_transformer_data_not_an_array
Function · 0.45
_check_transformer
Function · 0.45
check_transformer_preserve_dtypes
Function · 0.45
check_clustering
Function · 0.45
check_classifiers_train
Function · 0.45
check_classifiers_classes
Function · 0.45
check_transformer_get_feature_names_out
Function · 0.45
check_transformer_get_feature_names_out_pandas
Function · 0.45
fit_transform
Function · 0.45
_output_from_fit_transform
Function · 0.45
Calls
2
fit
Method · 0.95
transform
Method · 0.45
Tested by
no test coverage detected