Skip to content

Commit 3b17b94

Browse files
author
kgued
committed
cleanup
1 parent edcf93a commit 3b17b94

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

dataikuapi/dss/ml.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,15 +145,15 @@ def get_raw(self):
145145
@property
146146
def split_params(self):
147147
"""
148-
Gets an handle to modify train/test splitting params.
148+
Gets a handle to modify train/test splitting params.
149149
150150
:rtype: :class:`PredictionSplitParamsHandler`
151151
"""
152152
return self.get_split_params()
153153

154154
def get_split_params(self):
155155
"""
156-
Gets an handle to modify train/test splitting params.
156+
Gets a handle to modify train/test splitting params.
157157
158158
:rtype: :class:`PredictionSplitParamsHandler`
159159
"""
@@ -163,8 +163,6 @@ def get_split_params(self):
163163
def split_params(self, value):
164164
raise AttributeError("split_params reference cannot be overwritten, get a handle and modify it with a set method instead")
165165

166-
#split_params = property(get_split_params, set_split_params_not_allowed)
167-
168166
def split_ordered_by(self, feature_name, ascending=True):
169167
"""
170168
Uses a variable to sort the data for train/test split and hyperparameter optimization

0 commit comments

Comments
 (0)