53075273379791c2ed315688978fcb45e8179980,python/train_test_model.py,TrainTestModel,to_file,#TrainTestModel#Any#,112
 
Before Change
        info_to_save = {"param_dict": self.param_dict,
                        "model_dict": self.model_dict}
        import joblib
        joblib.dump(info_to_save, filename, compress=9)
    @staticmethod
    def from_file(filename, logger):
After Change
        info_to_save = {"param_dict": self.param_dict,
                        "model_dict": self.model_dict}
        with open(filename, "wb") as file:
            pickle.dump(info_to_save, file)
    @staticmethod
    def from_file(filename, logger):
        with open(filename, "rb") as file:

In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
 Project Name: Netflix/vmaf
 Commit Name: 53075273379791c2ed315688978fcb45e8179980
 Time: 2016-02-25
 Author: zli@netflix.com
 File Name: python/train_test_model.py
 Class Name: TrainTestModel
 Method Name: to_file
 Project Name: Netflix/vmaf
 Commit Name: 53075273379791c2ed315688978fcb45e8179980
 Time: 2016-02-25
 Author: zli@netflix.com
 File Name: python/train_test_model.py
 Class Name: LibsvmnusvrTrainTestModel
 Method Name: to_file
 Project Name: oddt/oddt
 Commit Name: fb6bf8e71639c2db6b4a26264efbe02aeb800941
 Time: 2016-07-29
 Author: maciek@wojcikowski.pl
 File Name: oddt/scoring/__init__.py
 Class Name: scorer
 Method Name: save