From 6074154548912d137a6cfcc64ebaa847b44eed8e Mon Sep 17 00:00:00 2001 From: Matthias Feurer Date: Thu, 10 Sep 2020 14:09:49 +0200 Subject: [PATCH] add that None is forbidden in categorical and ordinal hyperparameters --- ConfigSpace/hyperparameters.pyx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ConfigSpace/hyperparameters.pyx b/ConfigSpace/hyperparameters.pyx index 834b1959..28ecb266 100644 --- a/ConfigSpace/hyperparameters.pyx +++ b/ConfigSpace/hyperparameters.pyx @@ -1243,6 +1243,10 @@ cdef class CategoricalHyperparameter(Hyperparameter): Its values are sampled from a set of ``values``. + ``None`` is a forbidden value, please use a string constant instead and parse + it in your own code, see `here _` + for further details. + Example ------- @@ -1504,6 +1508,10 @@ cdef class OrdinalHyperparameter(Hyperparameter): Its values are sampled form a ``sequence`` of values. The sequence of values from a ordinal hyperparameter is ordered. + ``None`` is a forbidden value, please use a string constant instead and parse + it in your own code, see `here _` + for further details. + Example -------