5e329a5e3e9453ae0800ab438d2fa9f991f35a00,pymc3/examples/LKJ_correlation.py,,run,#Any#,49

Before Change


        start = pm.find_MAP()
        step = pm.NUTS(scaling=start)
        trace = pm.sample(n, step=step, start=start)
    return trace

if __name__ == "__main__":
    run()

After Change


    with model:
        trace = pm.sample(n)
    pm.traceplot(trace, varnames=["mu", "r"],
                 lines={"mu": mu_r, "r": corr_r[np.triu_indices(n_var, k=1)]})

if __name__ == "__main__":
    run()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: pymc-devs/pymc3
Commit Name: 5e329a5e3e9453ae0800ab438d2fa9f991f35a00
Time: 2017-06-02
Author: junpeng.lao@unifr.ch
File Name: pymc3/examples/LKJ_correlation.py
Class Name:
Method Name: run


Project Name: rtavenar/tslearn
Commit Name: 3544c70a5c7e63d172baacb9b380a613f1fa92e0
Time: 2019-08-18
Author: romain.tavenard@univ-rennes2.fr
File Name: tslearn/metrics.py
Class Name:
Method Name: cdist_dtw


Project Name: geomstats/geomstats
Commit Name: c395e00c7ae67ae0559a7418dba379719c128a0a
Time: 2020-01-17
Author: stefan.heyder@gmail.com
File Name: geomstats/geometry/skew_symmetric_matrices.py
Class Name: SkewSymmetricMatrices
Method Name: basis_representation