src/orion/core/io/space_builder.py
def build(self, configuration):
        """Create a definition of the problem's search space.

        Using information from the user's script configuration (if provided) and the
        command line arguments, will create a :class:`orion.algo.space.Space` object defining the
        problem's search space.

        Parameters
        ----------
        configuration: OrderedDict
            An OrderedDict containing the name and the expression of the parameters.

        Returns
        -------
        :class:`orion.algo.space.Space`
            The problem's search space definition.

        """
        self.space = Space()
        for namespace, expression in flatten(configuration).items():
            if _should_not_be_built(expression):
                continue

            expression = _remove_marker(expression)
            dimension = self.dimbuilder.build(namespace, expression)

            try:
                self.space.register(dimension)
            except ValueError as exc:
                error_msg = "Conflict for name '{}' in parameters".format(namespace)
                raise ValueError(error_msg) from exc

        return self.space
Create a definition of the problem's search space.

        Using information from the user's script configuration (if provided) and the
        command line arguments, will create a :class:`orion.algo.space.Space` object defining the
        problem's search space.

        Parameters
        ----------
        configuration: OrderedDict
            An OrderedDict containing the name and the expression of the parameters.

        Returns
        -------
        :class:`orion.algo.space.Space`
            The problem's search space definition.

        
Create a definition of the problem's search space.
Using information from the user's script configuration (if provided) and the
command line arguments, will create a :class:`orion.algo.space.Space` object defining the
problem's search space.

Parameters

OrderedDict
An OrderedDict containing the name and the expression of the parameters.

Returns
Create a definition of the problem ' s search space . Using information from the user ' s script configuration ( if provided ) and the command line arguments will create a : class : ` orion . algo . space . Space ` object defining the problem ' s search space . Parameters OrderedDict An OrderedDict containing the name and the expression of the parameters . Returns
def build(self, configuration):
        self.space = Space()
        for namespace, expression in flatten(configuration).items():
            if _should_not_be_built(expression):
                continue
            expression = _remove_marker(expression)
            dimension = self.dimbuilder.build(namespace, expression)
            try:
                self.space.register(dimension)
            except ValueError as exc:
                error_msg = "Conflict for name '{}' in parameters".format(namespace)
                raise ValueError(error_msg) from exc
        return self.space
def build ( self , configuration ) : self . space = Space ( ) for namespace , expression in flatten ( configuration ) . items ( ) : if _should_not_be_built ( expression ) : continue expression = _remove_marker ( expression ) dimension = self . dimbuilder . build ( namespace , expression ) try : self . space . register ( dimension ) except ValueError as exc : error_msg = "Conflict for name '{}' in parameters" . format ( namespace ) raise ValueError ( error_msg ) from exc return self . space
Create a definition of the problem's search space.
Create a definition of the problem ' s search space .
"""Create a definition of the problem's search space.

        Using information from the user's script configuration (if provided) and the
        command line arguments, will create a :class:`orion.algo.space.Space` object defining the
        problem's search space.

        Parameters
        ----------
        configuration: OrderedDict
            An OrderedDict containing the name and the expression of the parameters.

        Returns
        -------
        :class:`orion.algo.space.Space`
            The problem's search space definition.

        """
self
configuration
class
`orion.algo.space.Space`
The problem's search space definition.
` orion . algo . space . Space ` The problem ' s search space definition .