4a4f7cabe2baef71318784bf7c95aa8a669cc83f,ludwig/features/h3_feature.py,H3BaseFeature,add_feature_data,#Any#Any#Any#Any#Any#,66

Before Change


    ):
        data[feature["name"]] = np.array(
            [H3BaseFeature.h3_to_list(row)
             for row in dataset_df[feature["name"]]], dtype=np.uint8
        )

After Change


            preprocessing_parameters=None
    ):
        column = dataset_df[feature["name"]]
        if column.dtype == object:
            column = column.map(int)
        column = column.map(H3BaseFeature.h3_to_list)
        data[feature["name"]] = np.array(column.tolist(), dtype=np.uint8)

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: uber/ludwig
Commit Name: 4a4f7cabe2baef71318784bf7c95aa8a669cc83f
Time: 2020-05-11
Author: piero@uber.com
File Name: ludwig/features/h3_feature.py
Class Name: H3BaseFeature
Method Name: add_feature_data


Project Name: uber/ludwig
Commit Name: b041b42765da9d7e6820e4d57354f9803c231b9e
Time: 2020-04-19
Author: kaushikbokka@gmail.com
File Name: ludwig/utils/hyperopt_utils.py
Class Name: ParallelExecutor
Method Name: execute


Project Name: microsoft/nni
Commit Name: acc311dd3e15135ca35f69b0183e5b0f9f4beadf
Time: 2019-04-27
Author: 15094695770@163.com
File Name: tools/nni_gpu_tool/gpu_metrics_collector.py
Class Name:
Method Name: check_ready_to_run