ae5602d3d008cc8b290b32e380fb72ae8fb53bd7,enso/experiment/__init__.py,Experimentation,run_experiments,#Experimentation#,40

Before Change


            current_setting = futures[future]
            logging.info("Finishing training for {}".format(current_setting))
            results = future.result()
            print("External results", results)
            self._dump_results(results, experiment_name=self.name)

    def _run_experiment(self, dataset, current_setting):
        Responsible for running all experiments specified in config.

After Change



        for future in concurrent.futures.as_completed(futures):
            current_setting = futures[future]
            try:
                results = future.result()
                logging.info("Finished training for {}".format(current_setting))
            except Exception:
                logging.exception("Exception occurred for {}".format(current_setting))

    def _run_experiment(self, dataset_name, current_setting):
        Responsible for running all experiments specified in config.
        results = pd.DataFrame(columns=self.columns)
        dataset = self._load_dataset(dataset_name, current_setting.get("Featurizer"))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: IndicoDataSolutions/Enso
Commit Name: ae5602d3d008cc8b290b32e380fb72ae8fb53bd7
Time: 2018-04-18
Author: madison@indico.io
File Name: enso/experiment/__init__.py
Class Name: Experimentation
Method Name: run_experiments


Project Name: pantsbuild/pants
Commit Name: 295ea609c6267ed2a6b0521000a266e3962f6289
Time: 2018-10-08
Author: 1305167+cosmicexplorer@users.noreply.github.com
File Name: src/python/pants/base/exiter.py
Class Name: Exiter
Method Name: exit


Project Name: SeldonIO/seldon-core
Commit Name: bd86cd6ef5745be8c71358934bbea7002e7e2206
Time: 2019-08-06
Author: cc@seldon.io
File Name: servers/sklearnserver/sklearnserver/SKLearnServer.py
Class Name: SKLearnServer
Method Name: predict