cdbb8791ec13d03fd1fcf2580111db677a3ebc29,autokeras/hypermodel/preprocessor.py,FeatureEngineering,get_config,#FeatureEngineering#,810
Before Change
weights["high_level_num_cat"], ast.literal_eval)
def get_config(self):
return {"column_names": self.column_names,
"column_types": utils.to_type_key(self.column_types, str),
"num_columns": self.num_columns,
"max_columns": self.max_columns}
def set_config(self, config):
self.column_names = config["column_names"]
self.column_types = config["column_types"]
After Change
state["high_level_num_cat"], ast.literal_eval)
def get_config(self):
config = super().get_config()
config.update({"max_columns": self.max_columns})
return config
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances
Project Name: keras-team/autokeras
Commit Name: cdbb8791ec13d03fd1fcf2580111db677a3ebc29
Time: 2019-12-15
Author: jhfjhfj1@gmail.com
File Name: autokeras/hypermodel/preprocessor.py
Class Name: FeatureEngineering
Method Name: get_config
Project Name: jhfjhfj1/autokeras
Commit Name: b80fb3bdcfeac64d91b7365be1196392e013dcb8
Time: 2018-01-05
Author: jhfjhfj1@gmail.com
File Name: autokeras/utils.py
Class Name:
Method Name: extract_config