Skip to content

Commit 30fe5ab

Browse files
Apply simplification suggestions
Co-authored-by: Adrien Lavoillotte <[email protected]>
1 parent 9bf086e commit 30fe5ab

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dataikuapi/dss/ml.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -813,7 +813,7 @@ def _set_range(self, min=None, max=None, nb_values=None):
813813

814814
class RangeSettings(object):
815815
"""
816-
Class designed to represent the range of a numerical hyperparameter by pointing to the algorithm settings
816+
[Internal] Range of a numerical hyperparameter (points to the algorithm settings)
817817
Should not be used directly by end users of the API
818818
"""
819819

@@ -895,8 +895,8 @@ def range(self):
895895

896896
class Range(object):
897897
"""
898-
Class designed to represent the range of a numerical hyperparameter by storing its attributes (min, max, nb_values)
899-
End users should use this class to define explicitly the parameters of the range of a numerical hyperparameter
898+
Range of a numerical hyperparameter (min, max, nb_values)
899+
Use this class to define explicitly the parameters of the range of a numerical hyperparameter
900900
"""
901901

902902
def _check_input(self, value):

0 commit comments

Comments
 (0)