36e85bd581d4c660579f690db38a7b0fddf65866,enso/featurize/__init__.py,Featurization,run,#Featurization#,17

Before Change


            dataset = self._load_dataset(dataset_name)
            for featurizer in self.featurizers:
                print("Featurizing {} with {}....".format(dataset_name, featurizer.__class__.__name__))
                featurizer.generate(dataset, dataset_name)

    @staticmethod
    def _load_dataset(dataset_name):
        Responsible for finding datasets and reading them into dataframes.

After Change


            featurizer, dataset_name = futures[future]
            try:
                future.result()
                logging.info("Completed featurization of dataset `{dataset_name}` with featurizer `{featurizer}`.".format(
                    dataset_name=dataset_name,
                    featurizer=featurizer.__class__.__name__
                ))
            except Exception as e:
                logging.exception("Failed featurization of dataset `{dataset_name}` with featurizer `{featurizer}`.".format(
                    dataset_name=dataset_name,
                    featurizer=featurizer.__class__.__name__
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: IndicoDataSolutions/Enso
Commit Name: 36e85bd581d4c660579f690db38a7b0fddf65866
Time: 2017-12-11
Author: madison@indico.io
File Name: enso/featurize/__init__.py
Class Name: Featurization
Method Name: run


Project Name: Pinafore/qb
Commit Name: cd9255c71eb93ecc74c20d867eb769c78cfac9b9
Time: 2017-05-23
Author: sjtufs@gmail.com
File Name: qanta/buzzer/test.py
Class Name:
Method Name:


Project Name: Pinafore/qb
Commit Name: 100fd825069036e054506b3a0daa076560b1f531
Time: 2017-10-04
Author: sjtufs@gmail.com
File Name: qanta/buzzer/test.py
Class Name:
Method Name: