Skip to content

Commit cc2ca1e

Browse files
committed
Clean up
1 parent 40213c1 commit cc2ca1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dataikuapi/dss/ml.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -949,12 +949,12 @@ def get_all_possible_values(self):
949949

950950

951951
class PredictionAlgorithmSettings(dict):
952-
953952
"""
954953
Object to read and modify the settings of a prediction ML algorithm.
955954
956955
Do not create this object directly, use :meth:`DSSMLTask.get_algorithm_settings(algorithm)` instead
957956
"""
957+
958958
def __init__(self, raw_settings, hyperparameter_search_params):
959959
super(PredictionAlgorithmSettings, self).__init__(raw_settings)
960960
self._hyperparameter_search_params = hyperparameter_search_params
@@ -984,7 +984,7 @@ def _repr_html_(self):
984984
return res + "<details><pre>{}</pre></details>".format(self.__repr__())
985985

986986
def __repr__(self):
987-
return self.__class__.__name__ + "(values={})".format(super(PredictionAlgorithmSettings, self).copy())
987+
return self.__class__.__name__ + "(values={})".format(self.copy())
988988

989989
__str__ = __repr__
990990

0 commit comments

Comments
 (0)