Skip to content

Commit e3b27b1

Browse files
samronsinmhham
andauthored
Fix typo
Co-authored-by: Mehdi Hamoumi <mhham@users.noreply.github.com>
1 parent 7fb2b79 commit e3b27b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dataikuapi/dss/ml.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1065,7 +1065,7 @@ def __setattr__(self, attr_name, value):
10651065
elif isinstance(target, NumericalHyperparameterSettings):
10661066
if isinstance(value, list):
10671067
# algo.hyperparam = [x, y, z]
1068-
target.set_explicit_values(values=1)
1068+
target.set_explicit_values(values=value)
10691069
elif isinstance(value, Range):
10701070
# algo.hyperparam = Range(min=x, max=y, nb_values=z)
10711071
target.set_range(min=value.min, max=value.max, nb_values=value.nb_values)

0 commit comments

Comments
 (0)