4dc03426487168eff54c87ec369085efff3621d2,tests/test_pyglmnet.py,,test_cv,#,229
Before Change
scoring=simple_cv_scorer)), 5)
param_grid = [{"alpha": np.linspace(0, 1, 2)},
{"reg_lambda": np.linspace(0, 1, 2)}]
glmcv = GridSearchCV(glm_normal, param_grid, cv=cv)
glmcv.fit(X, y)
After Change
param_grid = [{"alpha": np.linspace(0.01, 0.99, 2)},
{"reg_lambda": np.logspace(np.log(0.5), np.log(0.01),
10, base=np.exp(1))}]
glmcv = GridSearchCV(glm_normal, param_grid, cv=cv)
glmcv.fit(X, y)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
Project Name: glm-tools/pyglmnet
Commit Name: 4dc03426487168eff54c87ec369085efff3621d2
Time: 2017-10-27
Author: mainakjas@gmail.com
File Name: tests/test_pyglmnet.py
Class Name:
Method Name: test_cv
Project Name: matplotlib/matplotlib
Commit Name: 32a2f7931b68e100898eb6c7c2ece2dc3590af82
Time: 2018-02-02
Author: dstansby@gmail.com
File Name: examples/frontpage/contour.py
Class Name:
Method Name:
Project Name: enthought/chaco
Commit Name: 97de926824b3f5cc711c42d6f81f11042b7bad7c
Time: 2007-11-29
Author: bryanv@651a555e-23ca-0310-84fe-ca9f7c59d2ea
File Name: examples/basic/cmap_image_plot.py
Class Name: PlotFrame
Method Name: _create_window