Skip to content

Commit 7f1ac3b

Browse files
committed
Minor wording
1 parent 8d64a8d commit 7f1ac3b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

ConfigSpace/hyperparameters.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2546,7 +2546,7 @@ cdef class OrdinalHyperparameter(Hyperparameter):
25462546
The sequence of values from a ordinal hyperparameter is ordered.
25472547

25482548
``None`` is a forbidden value, please use a string constant instead and parse
2549-
it in your own code, see `here <https://github.com/automl/ConfigSpace/issues/159>_`
2549+
it in your own code, see `here <https://github.com/automl/ConfigSpace/issues/159>`_
25502550
for further details.
25512551

25522552
>>> from ConfigSpace import OrdinalHyperparameter

docs/api/hyperparameters.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ and :func:`~ConfigSpace.api.types.categorical.Categorical` hyperparamters, each
1010
For :func:`~ConfigSpace.api.types.float.Float` and :func:`~ConfigSpace.api.types.integer.Integer`, you will find their
1111
interface much the same, being able to take the same :ref:`distributions <Distributions>` and parameters.
1212

13-
A :func:`~ConfigSpace.api.types.categorical.Categorical` can optionally take weights to define your own custom distribution over the discrete **un-ordered** choices
14-
or you can pass ``ordered=True`` to make it an :class:`~ConfigSpace.hyperparameters.OrdinalHyperparameter`.
13+
A :func:`~ConfigSpace.api.types.categorical.Categorical` can optionally take weights to define
14+
your own custom distribution over the discrete **un-ordered** choices.
15+
One can also pass ``ordered=True`` to make it an :class:`~ConfigSpace.hyperparameters.OrdinalHyperparameter`.
1516

1617
These are all **convenience** functions that construct the more complex :ref:`hyperparameter classes <Advanced_Hyperparameters>`, *e.g.* :class:`~ConfigSpace.hyperparameters.UniformIntegerHyperparameter`,
1718
which are the underlying complex types which make up the backbone of what's possible.

0 commit comments

Comments
 (0)