c63beddcf0e41663ba2d30a6864251dd4dab44a3,GPy/models/mrd.py,MRD,_set_params,#MRD#Any#,130
Before Change
def _set_params(self, x):
start = 0; end = self.NQ
X = x[start:end].reshape(self.N, self.Q)
start = end; end += start
X_var = x[start:end].reshape(self.N, self.Q)
start = end; end += self.MQ
Z = x[start:end].reshape(self.M, self.Q)
After Change
// set params for all:
for g, s, e in itertools.izip(self.bgplvms, self.nparams, self.nparams[1:]):
g._set_params(numpy.hstack([X, X_var, Z, thetas[s:e]]))
// self._set_var_params(g, X, X_var, Z)
// self._set_kern_params(g, thetas[s:e].copy())
// g._compute_kernel_matrices()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: SheffieldML/GPy
Commit Name: c63beddcf0e41663ba2d30a6864251dd4dab44a3
Time: 2013-04-15
Author: ibinbei@gmail.com
File Name: GPy/models/mrd.py
Class Name: MRD
Method Name: _set_params
Project Name: rasbt/mlxtend
Commit Name: a3a539ed60af074ea3459835c788c2e900f3d8c1
Time: 2019-03-31
Author: ackerleytng@gmail.com
File Name: mlxtend/classifier/stacking_cv_classification.py
Class Name: StackingCVClassifier
Method Name: predict_meta_features
Project Name: HyperGAN/HyperGAN
Commit Name: a4f9d20d37974248d3738e5c7d8a160d9cf0b2bb
Time: 2018-08-04
Author: mikkel@255bits.com
File Name: hypergan/samplers/grid_sampler.py
Class Name: GridSampler
Method Name: _sample