350497c72606f188f83b68588140f0058190559b,GPy/examples/dimensionality_reduction.py,,mrd_simulation,#Any#,102

Before Change


    Y3 -= Y3.mean(0)
    Y1 /= Y1.std(0)
    Y2 /= Y2.std(0)
    Y3 /= Y3.std(0)

    Slist = [s1, s2, sS]
    Ylist = [Y1, Y2]

After Change


    m = mrd.MRD(*Ylist, Q=Q, M=M, kernel=k, initx="concat", _debug=False)
    m.ensure_default_constraints()

    for i, Y in enumerate(Ylist):
        m.set("{}_noise".format(i + 1), Y.var() / 100.)

//     import ipdb;ipdb.set_trace()
    cstr = "variance"
    m.unconstrain(cstr); m.constrain_bounded(cstr, 1e-15, 1.)

//     print "initializing beta"
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: SheffieldML/GPy
Commit Name: 350497c72606f188f83b68588140f0058190559b
Time: 2013-04-16
Author: ibinbei@gmail.com
File Name: GPy/examples/dimensionality_reduction.py
Class Name:
Method Name: mrd_simulation


Project Name: NifTK/NiftyNet
Commit Name: 03e8525394683bb5da7668330cd910c87c7d4501
Time: 2017-04-03
Author: l.fidon@ucl.ac.uk
File Name: data_augmentation.py
Class Name:
Method Name: rand_intensity_normalisation


Project Name: nilmtk/nilmtk
Commit Name: 9ce99b87ced85d30b755c4bf8e94b1d592b963bd
Time: 2014-07-10
Author: jack-list@xlk.org.uk
File Name: nilmtk/metrics.py
Class Name:
Method Name: rms_error_power