ef069b15e563f2833ffebfd0e350a12ea0d18328,skopt/optimizer/optimizer.py,Optimizer,run,#Optimizer#Any#Any#,599

Before Change


            x = self.ask()
            self.tell(x, func(x))

        return create_result(self.Xi, self.yi, self.space, self.rng,
                             models=self.models)

    def update_next(self):
        Updates the value returned by opt.ask(). Useful if a parameter
        was updated after ask was called.

After Change


            x = self.ask()
            self.tell(x, func(x))

        result = create_result(self.Xi, self.yi, self.space, self.rng,
                               models=self.models)
        result.specs = self.specs
        return result

    def update_next(self):
        Updates the value returned by opt.ask(). Useful if a parameter
        was updated after ask was called.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: scikit-optimize/scikit-optimize
Commit Name: ef069b15e563f2833ffebfd0e350a12ea0d18328
Time: 2020-02-14
Author: holgernahrstaedt@gmx.de
File Name: skopt/optimizer/optimizer.py
Class Name: Optimizer
Method Name: run


Project Name: scikit-optimize/scikit-optimize
Commit Name: ef069b15e563f2833ffebfd0e350a12ea0d18328
Time: 2020-02-14
Author: holgernahrstaedt@gmx.de
File Name: skopt/optimizer/optimizer.py
Class Name: Optimizer
Method Name: _tell


Project Name: scikit-optimize/scikit-optimize
Commit Name: ef069b15e563f2833ffebfd0e350a12ea0d18328
Time: 2020-02-14
Author: holgernahrstaedt@gmx.de
File Name: skopt/optimizer/optimizer.py
Class Name: Optimizer
Method Name: get_result