Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix omissive param setters which should use _set method
  • Loading branch information
yanboliang committed Apr 20, 2016
commit 864b9b0c06f2b593a4619830642eff828e2c4f65
4 changes: 2 additions & 2 deletions python/pyspark/ml/feature.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ def setBinary(self, value):
"""
Sets the value of :py:attr:`binary`.
"""
self._paramMap[self.binary] = value
self._set(binary=value)
return self

@since("2.0.0")
Expand Down Expand Up @@ -569,7 +569,7 @@ def setBinary(self, value):
"""
Sets the value of :py:attr:`binary`.
"""
self._paramMap[self.binary] = value
self._set(binary=value)
return self

@since("2.0.0")
Expand Down