87dad9fe273423e7d8fd1041c65961cdac02634b,GPflow/model.py,Model,_optimize_np,#Model#Any#Any#Any#Any#,229

Before Change


        options.update(kw)

        // LBFGS-B hacks. the options are different, annoyingly.
        if method == "L-BFGS-B":
            options["maxiter"] = max_iters
            del options["max_iters"]
            options["disp"] = options["display"]
            del options["display"]

        // here"s the actual call to minimize. Catch keyboard errors as harmless.
        obj = ObjectiveWrapper(self._objective)
        try:
            result = minimize(fun=obj,
                              x0=self.get_free_state(),

After Change


        if "display" in kw:  // pragma: no cover
            options["disp"] = kw.pop("display")
            import warnings
            warnings.warn("Use `disp` instead of deprecated `display`.", np.VisibleDeprecationWarning)

        options.update(kw)

        // here"s the actual call to minimize. Catch keyboard errors as harmless.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: GPflow/GPflow
Commit Name: 87dad9fe273423e7d8fd1041c65961cdac02634b
Time: 2016-08-09
Author: mv310@cam.ac.uk
File Name: GPflow/model.py
Class Name: Model
Method Name: _optimize_np


Project Name: pfnet/optuna
Commit Name: 7c7872a8c1511e81073275eda2ce31472a0399d0
Time: 2019-07-24
Author: phjgt308@gmail.com
File Name: optuna/samplers/__init__.py
Class Name:
Method Name: product_search_space


Project Name: ilastik/ilastik
Commit Name: bb6bb8f02d99a871e67e06a752e67a801d45773f
Time: 2013-02-26
Author: bergs@janelia.hhmi.org
File Name: ilastik/applets/objectExtraction/objectExtractionSerializer.py
Class Name: SerialLabelImageSlot
Method Name: deserialize