d9635d9465b0c40f7cbe1cdfee0d508f682864e5,linearmodels/tests/panel/test_model.py,TestPanelOLS,setup_class,#Any#,171
Before Change
class TestPanelOLS(TestPooledOLS):
@classmethod
def setup_class(cls):
super(TestPanelOLS, cls).setup_class()
cls.mod = PanelOLS
def test_smoke(self):
After Change
@classmethod
def setup_class(cls):
np.random.seed(12345)
n, t, k = 10000, 4, 5
cls.x = random_sample((k, t, n))
beta = np.arange(1, k + 1)[:, None, None]
cls.y = (cls.x * beta).sum(0) + random_sample((t, n))
cls.y_pd = pd.DataFrame(cls.y)
cls.x_pd = pd.Panel(cls.x)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: bashtage/linearmodels
Commit Name: d9635d9465b0c40f7cbe1cdfee0d508f682864e5
Time: 2017-03-31
Author: kevin.k.sheppard@gmail.com
File Name: linearmodels/tests/panel/test_model.py
Class Name: TestPanelOLS
Method Name: setup_class
Project Name: SheffieldML/GPy
Commit Name: 0c248e752052e18d2467d0e95f07046a666ae817
Time: 2017-03-22
Author: morepabl@amazon.com
File Name: GPy/inference/latent_function_inference/expectation_propagation.py
Class Name: EP
Method Name: inference
Project Name: SheffieldML/GPy
Commit Name: 63751de9127ab46ab0374507338e89cd3a1be78f
Time: 2017-06-01
Author: morepabl@amazon.com
File Name: GPy/inference/latent_function_inference/expectation_propagation.py
Class Name: EP
Method Name: inference