src/orion/algo/random.py
def suggest(self, num=1):
        """Suggest a `num` of new sets of parameters. Randomly draw samples
        from the import space and return them.

        :param num: how many sets to be suggested.

        .. note:: New parameters must be compliant with the problem's domain
           `orion.algo.space.Space`.
        """
        points = []
        point_ids = set(self._trials_info.keys())
        i = 0
        while len(points) < num:
            new_point = self.space.sample(
                1, seed=tuple(self.rng.randint(0, 1000000, size=3))
            )[0]
            point_id = infer_trial_id(new_point)
            if point_id not in point_ids:
                point_ids.add(point_id)
                points.append(new_point)
            i += 1

        return points
Suggest a `num` of new sets of parameters. Randomly draw samples
        from the import space and return them.

        :param num: how many sets to be suggested.

        .. note:: New parameters must be compliant with the problem's domain
           `orion.algo.space.Space`.
        
Suggest a `num` of new sets of parameters. Randomly draw samples
from the import space and return them.
Suggest a ` num ` of new sets of parameters . Randomly draw samples from the import space and return them .
def suggest(self, num=1):
        points = []
        point_ids = set(self._trials_info.keys())
        i = 0
        while len(points) < num:
            new_point = self.space.sample(
                1, seed=tuple(self.rng.randint(0, 1000000, size=3))
            )[0]
            point_id = infer_trial_id(new_point)
            if point_id not in point_ids:
                point_ids.add(point_id)
                points.append(new_point)
            i += 1
        return points
def suggest ( self , num = 1 ) : points = [ ] point_ids = set ( self . _trials_info . keys ( ) ) i = 0 while len ( points ) < num : new_point = self . space . sample ( 1 , seed = tuple ( self . rng . randint ( 0 , 1000000 , size = 3 ) ) ) [ 0 ] point_id = infer_trial_id ( new_point ) if point_id not in point_ids : point_ids . add ( point_id ) points . append ( new_point ) i += 1 return points
Suggest a `num` of new sets of parameters.
Suggest a ` num ` of new sets of parameters .
"""Suggest a `num` of new sets of parameters. Randomly draw samples
        from the import space and return them.

        :param num: how many sets to be suggested.

        .. note:: New parameters must be compliant with the problem's domain
           `orion.algo.space.Space`.
        """
self
num
None