We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db146fe commit 85fc06cCopy full SHA for 85fc06c
dataikuapi/dss/ml.py
@@ -820,7 +820,7 @@ def set_values(self, values):
820
:param values: list of values to enable, all other values will be disabled
821
:type values: list of str
822
"""
823
- assert isinstance(values, list) and not isinstance(values, string_types), \
+ assert isinstance(values, list), \
824
"Invalid input type {} for categorical hyperparameter {}: must be a list of strings".format(type(values), self.name)
825
all_possible_values = self.get_all_possible_values()
826
for category in values:
0 commit comments