8b93c479bdd284b6377bea771c0f8d1495a58f42,smac/smbo/smbo.py,SMBO,run,#SMBO#Any#,70

Before Change


        print(self.runhistory.data)

        // Main BO loop
        for i in range(max_iters):

            // TODO: Transform lambda to X

            X, Y = rh2EPM.transform(self.runhistory)

            // TODO: Estimate new configuration
            self.logger.debug("Search for next configuration")
            next_config = self.choose_next(X, Y)

            // TODO: Perform intensification
            //self.incumbent = intensify(self.incumbent, next_config)

            // TODO: Perform target algorithm run

            // TODO: Update run history

            // TODO: Write run history into database

        return self.incumbent

    def choose_next(self, X=None, Y=None, n_iters=10):
        

After Change


            self.logger.debug("Search for next configuration")
            next_config = self.choose_next(X, Y)
            
            self.logger.debug("Intensify")
            //TODO: fix timebound of intensifier
            //TODO: add more than one challenger
            inten = Intensifier(executor=executor, 
                                challengers=[next_config], 
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: automl/SMAC3
Commit Name: 8b93c479bdd284b6377bea771c0f8d1495a58f42
Time: 2016-01-08
Author: lindauer@informatik.uni-freiburg.de
File Name: smac/smbo/smbo.py
Class Name: SMBO
Method Name: run


Project Name: pantsbuild/pants
Commit Name: 8479b6a979a0433c9b360c340fca454f03b0ff77
Time: 2016-04-07
Author: nhoward@twopensource.com
File Name: contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/checker.py
Class Name: PythonCheckStyleTask
Method Name: get_nits


Project Name: datascienceinc/Skater
Commit Name: 5fe98231a26e08d81f9684a681af43bc2fb2b847
Time: 2017-03-16
Author: aikramer2@gmail.com
File Name: pyinterpret/model/model.py
Class Name: Model
Method Name: check_output_signature


Project Name: chainer/chainerrl
Commit Name: 9801f28774b8d4aeed7d65025bf2451814c1db6d
Time: 2019-03-26
Author: prabhat.nagarajan@gmail.com
File Name: chainerrl/agents/ddpg.py
Class Name: DDPG
Method Name: batch_act