Skip to content

Commit 05285be

Browse files
committed
added sphinx doc
1 parent 6abb6ed commit 05285be

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

python/pyspark/ml/feature.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,11 @@ def __init__(self, splits=None, inputCol=None, outputCol=None):
121121
__init__(self, splits=None, inputCol=None, outputCol=None)
122122
"""
123123
super(Bucketizer, self).__init__()
124+
#: param for Splitting points for mapping continuous features into buckets. With n+1 splits,
125+
# there are n buckets. A bucket defined by splits x,y holds values in the range [x,y)
126+
# except the last bucket, which also includes y. The splits should be strictly increasing.
127+
# Values at -inf, inf must be explicitly provided to cover all Double values; otherwise,
128+
# values outside the splits specified will be treated as errors.
124129
self.splits = \
125130
Param(self, "splits",
126131
"Split points for mapping continuous features into buckets. With n+1 splits, " +

0 commit comments

Comments
 (0)