Skip to content

Commit cd87551

Browse files
DOC Ensures that SplineTransformer passes numpydoc validation (#21248)
* Remove SplineTransformer from DOCSTRING_IGNORE_LIST * Fix numpydocs from SplineTransformer
1 parent 70a185a commit cd87551

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

maint_tools/test_docstrings.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
"SpectralBiclustering",
2929
"SpectralCoclustering",
3030
"SpectralEmbedding",
31-
"SplineTransformer",
3231
"StackingRegressor",
3332
"TransformedTargetRegressor",
3433
]

sklearn/preprocessing/_polynomial.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -693,6 +693,7 @@ def get_feature_names(self, input_features=None):
693693
Returns
694694
-------
695695
output_feature_names : list of str of shape (n_output_features,)
696+
Transformed feature names.
696697
"""
697698
n_splines = self.bsplines_[0].c.shape[0]
698699
if input_features is None:

0 commit comments

Comments
 (0)