b3388a99c35e7df5ebef0718838744ebf039c09c,pymc3/distributions/timeseries.py,GaussianRandomWalk,_random,#GaussianRandomWalk#Any#Any#Any#,252

Before Change


    def _random(self, sigma, mu, size):
        Implement a Gaussian random walk as a cumulative sum of normals.
        rv = stats.norm(mu, sigma)
        return rv.rvs(size).cumsum(axis=0)

    def _repr_latex_(self, name=None, dist=None):
        if dist is None:
            dist = self

After Change


    def _random(self, sigma, mu, size):
        Implement a Gaussian random walk as a cumulative sum of normals.
        rv = stats.norm(mu, sigma)
        data = rv.rvs(size).cumsum(axis=0)
        data = data - data[0]  // TODO: this should be a draw from `init`, if available
        return data

    def _repr_latex_(self, name=None, dist=None):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: pymc-devs/pymc3
Commit Name: b3388a99c35e7df5ebef0718838744ebf039c09c
Time: 2019-11-17
Author: colcarroll@gmail.com
File Name: pymc3/distributions/timeseries.py
Class Name: GaussianRandomWalk
Method Name: _random


Project Name: kwgoodman/numerox
Commit Name: 871618a84863ee11e143667a52fcfd55966da8c9
Time: 2017-12-04
Author: kwgoodman@gmail.com
File Name: numerox/numerai.py
Class Name:
Method Name: get_stakes


Project Name: kengz/SLM-Lab
Commit Name: 861657d2c9b321961994c8cdd0e58b6c4fe0645f
Time: 2018-09-03
Author: kengzwl@gmail.com
File Name: slm_lab/experiment/analysis.py
Class Name:
Method Name: get_session_data