148498b564391bfd9dbc9c2b0b22db4c96df4606,secuml/exp/conf/features.py,FeaturesConf,from_json,#Any#Any#,86

Before Change


        conf = FeaturesConf(conf_json["input_features"], logger)
        conf.input_type = InputFeaturesTypes[conf_json["input_type"]]
        conf.features_set_id = conf_json["features_set_id"]
        conf.features_files_ids = conf_json["features_files_ids"]
        conf.filter_in = conf_json["filter_in"]
        conf.filter_out = conf_json["filter_out"]
        return conf

After Change


                            filter_out_f=conf_json["filter_out_f"])
        conf.set_input_type(conf_json["input_type"])
        conf.set_set_id(conf_json["set_id"])
        conf.set_info(FeaturesInfo.from_json(conf_json["info"]))
        conf.set_files(conf_json["files"])
        return conf
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 2

Instances


Project Name: ANSSI-FR/SecuML
Commit Name: 148498b564391bfd9dbc9c2b0b22db4c96df4606
Time: 2019-03-06
Author: anael.bonneton@ssi.gouv.fr
File Name: secuml/exp/conf/features.py
Class Name: FeaturesConf
Method Name: from_json


Project Name: tensorflow/datasets
Commit Name: 83218b7cb41cbcd3b4800313ecd8fe33b846205a
Time: 2020-08-07
Author: cs17btech11040@iith.ac.in
File Name: tensorflow_datasets/core/features/features_dict.py
Class Name: FeaturesDict
Method Name: from_json_content


Project Name: tensorflow/datasets
Commit Name: 83218b7cb41cbcd3b4800313ecd8fe33b846205a
Time: 2020-08-07
Author: cs17btech11040@iith.ac.in
File Name: tensorflow_datasets/core/features/sequence_feature.py
Class Name: Sequence
Method Name: from_json_content


Project Name: reinforceio/tensorforce
Commit Name: 596dabcd1d87e820ca8bc8637fc6497d5716c9af
Time: 2017-06-10
Author: aok25@cl.cam.ac.uk
File Name: examples/openai_gym.py
Class Name:
Method Name: main