src/orion/algo/base.py
def observe(self, points, results):
        """Observe the `results` of the evaluation of the `points` in the
        process defined in user's script.

        Parameters
        ----------
        points : list of tuples of array-likes
           Points from a `orion.algo.space.Space`.
           Evaluated problem parameters by a consumer.
        results : list of dicts
           Contains the result of an evaluation; partial information about the
           black-box function at each point in `params`.

        Result
        ------
        objective : numeric
           Evaluation of this problem's objective function.
        gradient : 1D array-like, optional
           Contains values of the derivatives of the `objective` function
           with respect to `params`.
        constraint : list of numeric, optional
           List of constraints expression evaluation which must be greater
           or equal to zero by the problem's definition.

        """
        for point, result in zip(points, results):
            point_id = infer_trial_id(point)

            if point_id not in self._trials_info:
                self._trials_info[point_id] = (point, result)
Observe the `results` of the evaluation of the `points` in the
        process defined in user's script.

        Parameters
        ----------
        points : list of tuples of array-likes
           Points from a `orion.algo.space.Space`.
           Evaluated problem parameters by a consumer.
        results : list of dicts
           Contains the result of an evaluation; partial information about the
           black-box function at each point in `params`.

        Result
        ------
        objective : numeric
           Evaluation of this problem's objective function.
        gradient : 1D array-like, optional
           Contains values of the derivatives of the `objective` function
           with respect to `params`.
        constraint : list of numeric, optional
           List of constraints expression evaluation which must be greater
           or equal to zero by the problem's definition.

        
Observe the `results` of the evaluation of the `points` in the
process defined in user's script.

Parameters

points : list of tuples of array-likes
Points from a `orion.algo.space.Space`.
Evaluated problem parameters by a consumer.
results : list of dicts
Contains the result of an evaluation; partial information about the
black-box function at each point in `params`.

Result

objective : numeric
Evaluation of this problem's objective function.
gradient : 1D array-like, optional
Contains values of the derivatives of the `objective` function
with respect to `params`.
constraint : list of numeric, optional
List of constraints expression evaluation which must be greater
or equal to zero by the problem's definition.
Observe the ` results ` of the evaluation of the ` points ` in the process defined in user ' s script . Parameters points : list of tuples of array - likes Points from a ` orion . algo . space . Space ` . Evaluated problem parameters by a consumer . results : list of dicts Contains the result of an evaluation ; partial information about the black - box function at each point in ` params ` . Result objective : numeric Evaluation of this problem ' s objective function . gradient : 1D array - like optional Contains values of the derivatives of the ` objective ` function with respect to ` params ` . constraint : list of numeric optional List of constraints expression evaluation which must be greater or equal to zero by the problem ' s definition .
def observe(self, points, results):
        for point, result in zip(points, results):
            point_id = infer_trial_id(point)
            if point_id not in self._trials_info:
                self._trials_info[point_id] = (point, result)
def observe ( self , points , results ) : for point , result in zip ( points , results ) : point_id = infer_trial_id ( point ) if point_id not in self . _trials_info : self . _trials_info [ point_id ] = ( point , result )
Observe the `results` of the evaluation of the `points` in the
process defined in user's script.
Observe the ` results ` of the evaluation of the ` points ` in the process defined in user ' s script .
"""Observe the `results` of the evaluation of the `points` in the
        process defined in user's script.

        Parameters
        ----------
        points : list of tuples of array-likes
           Points from a `orion.algo.space.Space`.
           Evaluated problem parameters by a consumer.
        results : list of dicts
           Contains the result of an evaluation; partial information about the
           black-box function at each point in `params`.

        Result
        ------
        objective : numeric
           Evaluation of this problem's objective function.
        gradient : 1D array-like, optional
           Contains values of the derivatives of the `objective` function
           with respect to `params`.
        constraint : list of numeric, optional
           List of constraints expression evaluation which must be greater
           or equal to zero by the problem's definition.

        """
self
points
results