57eda0b77c130249b8b48aa1a46b608fe1446095,GPy/models/mrd.py,MRD,_get_param_names,#MRD#,166

Before Change


        map_names = lambda ns, name: map(lambda x: "{1}_{0}".format(*x),
                                         itertools.izip(ns,
                                                        itertools.repeat(name)))
        return list(itertools.chain(n1var, *(map_names(\
                SparseGP._get_param_names(g)[self.MQ:], n) \
                for g, n in zip(self.bgplvms, self.names))))

    def _get_params(self):
        
        return parameter list containing private and shared parameters as follows:

After Change


        // S_names = sum([["X_variance_%i_%i" % (n, q) for q in range(self.input_dim)] for n in range(self.num_data)], [])
        n1var = self._get_latent_param_names()
        kernel_names = self._get_kernel_names()
        return list(itertools.chain(n1var, *kernel_names))

    def _get_print_names(self):
        return list(itertools.chain(*self._get_kernel_names()))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: SheffieldML/GPy
Commit Name: 57eda0b77c130249b8b48aa1a46b608fe1446095
Time: 2013-09-02
Author: ibinbei@gmail.com
File Name: GPy/models/mrd.py
Class Name: MRD
Method Name: _get_param_names


Project Name: SheffieldML/GPy
Commit Name: 1931e447f4f3f91726a7ba2fb98d7365b8581994
Time: 2013-09-16
Author: acq11ra@sheffield.ac.uk
File Name: GPy/models/mrd.py
Class Name: MRD
Method Name: _get_param_names


Project Name: Rostlab/nalaf
Commit Name: 465138061762d7eb282f74e229386bbc19c77c3f
Time: 2015-10-28
Author: aleksandar.bojchevski@gmail.com
File Name: nala/bootstrapping/iteration.py
Class Name: Iteration
Method Name: evaluation