5a2bc4863b59e2635ac9e4351bd1eb8b69f22a7d,GPy/models/mrd.py,MRD,__getstate__,#MRD#,335

Before Change


    def __getstate__(self):
        // TODO:
        import copy
        state = copy.copy(self.__dict__)
        del state["kernels"]
        del state["kern"]
        del state["likelihood"]
        return state

After Change


        return plot

    def __getstate__(self):
        state = super(MRD, self).__getstate__()
        del state["kern"]
        del state["likelihood"]
        return state
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: SheffieldML/GPy
Commit Name: 5a2bc4863b59e2635ac9e4351bd1eb8b69f22a7d
Time: 2014-05-22
Author: ibinbei@gmail.com
File Name: GPy/models/mrd.py
Class Name: MRD
Method Name: __getstate__


Project Name: rail-berkeley/softlearning
Commit Name: 6d6f8612a0b12636269e3837c6bb27d2ff94e9d3
Time: 2019-01-10
Author: henryee333@gmail.com
File Name: softlearning/samplers/remote_sampler.py
Class Name: RemoteSampler
Method Name: __getstate__


Project Name: idaholab/raven
Commit Name: b7f3f4cccdb2f26a6d78b474a317bfcf4e37422f
Time: 2019-05-03
Author: Jia.Zhou@inl.gov
File Name: framework/SupervisedLearning/ARMA.py
Class Name: ARMA
Method Name: __getstate__