652b3ce2c6870a2357d537c4b87bfe3d300cbc66,GPy/kern/prod.py,prod,_get_params,#prod#,27

Before Change



    def _get_params(self):
        return the value of the parameters.
        return self.params

    def _set_params(self,x):
        set the value of the parameters.
        self.k1._set_params(x[:self.k1.Nparam])

After Change



    def _get_params(self):
        return the value of the parameters.
        return np.hstack((self.k1._get_params(), self.k2._get_params()))

    def _set_params(self,x):
        set the value of the parameters.
        self.k1._set_params(x[:self.k1.Nparam])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: SheffieldML/GPy
Commit Name: 652b3ce2c6870a2357d537c4b87bfe3d300cbc66
Time: 2013-05-10
Author: n.durrande@sheffield.ac.uk
File Name: GPy/kern/prod.py
Class Name: prod
Method Name: _get_params


Project Name: SheffieldML/GPy
Commit Name: 6dced9ac39485c1d9bfe9ccc3b1e1c032521fee7
Time: 2013-04-28
Author: james.hensman@gmail.com
File Name: GPy/kern/prod_orthogonal.py
Class Name: prod_orthogonal
Method Name: _get_params


Project Name: kmike/pymorphy2
Commit Name: b64003b2edeaa36b9dc85e82cc8a4ba0108098c9
Time: 2015-01-17
Author: kmike84@gmail.com
File Name: pymorphy2/units/base.py
Class Name: BaseAnalyzerUnit
Method Name: __repr__