8000 DOC fix SplineTransformer include_bias docstring (#26018) · scikit-learn/scikit-learn@3e0d957 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3e0d957

Browse files
authored
DOC fix SplineTransformer include_bias docstring (#26018)
1 parent 27cf2dd commit 3e0d957

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/preprocessing/_polynomial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ class SplineTransformer(TransformerMixin, BaseEstimator):
517517
recommended to manually set the knot values to control the period.
518518
519519
include_bias : bool, default=True
520-
If True (default), then the last spline element inside the data range
520+
If False, then the last spline element inside the data range
521521
of a feature is dropped. As B-splines sum to one over the spline basis
522522
functions for each data point, they implicitly include a bias term,
523523
i.e. a column of ones. It acts as an intercept term in a linear models.

0 commit comments

Comments
 (0)
0