5f7e78df65a865084a34fc54a6cb4f78c1592137,keras/optimizers.py,RMSprop,get_config,#RMSprop#,185

Before Change


        return self.updates

    def get_config(self):
        return {"name": self.__class__.__name__,
                "lr": float(K.get_value(self.lr)),
                "rho": float(K.get_value(self.rho)),
                "epsilon": self.epsilon}


class Adagrad(Optimizer):
    """Adagrad optimizer.

After Change


        return self.updates

    def get_config(self):
        config = {"lr": float(K.get_value(self.lr)),
                  "rho": float(K.get_value(self.rho)),
                  "epsilon": self.epsilon}
        base_config = super(RMSprop, self).get_config()
        return dict(list(base_config.items()) + list(config.items()))


class Adagrad(Optimizer):
    """Adagrad optimizer.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 7

Non-data size: 15

Instances


Project Name: keras-team/keras
Commit Name: 5f7e78df65a865084a34fc54a6cb4f78c1592137
Time: 2016-05-04
Author: francois.chollet@gmail.com
File Name: keras/optimizers.py
Class Name: RMSprop
Method Name: get_config


Project Name: keras-team/keras
Commit Name: 5f7e78df65a865084a34fc54a6cb4f78c1592137
Time: 2016-05-04
Author: francois.chollet@gmail.com
File Name: keras/optimizers.py
Class Name: Adamax
Method Name: get_config


Project Name: keras-team/keras
Commit Name: 5f7e78df65a865084a34fc54a6cb4f78c1592137
Time: 2016-05-04
Author: francois.chollet@gmail.com
File Name: keras/optimizers.py
Class Name: Adam
Method Name: get_config


Project Name: keras-team/keras
Commit Name: 5f7e78df65a865084a34fc54a6cb4f78c1592137
Time: 2016-05-04
Author: francois.chollet@gmail.com
File Name: keras/optimizers.py
Class Name: SGD
Method Name: get_config


Project Name: keras-team/keras
Commit Name: 5f7e78df65a865084a34fc54a6cb4f78c1592137
Time: 2016-05-04
Author: francois.chollet@gmail.com
File Name: keras/optimizers.py
Class Name: Adadelta
Method Name: get_config


Project Name: keras-team/keras
Commit Name: 5f7e78df65a865084a34fc54a6cb4f78c1592137
Time: 2016-05-04
Author: francois.chollet@gmail.com
File Name: keras/optimizers.py
Class Name: Adagrad
Method Name: get_config


Project Name: keras-team/keras
Commit Name: a066cf8680372f107f4da35b1518998a851e02b7
Time: 2016-03-31
Author: francois.chollet@gmail.com
File Name: keras/layers/advanced_activations.py
Class Name: SReLU
Method Name: get_config