242981f4577e5d90dbd6d3925d92eb5cb725e17a,tests/test_metrics.py,,test_accuracy,#,43
Before Change
Testing accuracy.
n_samples, n_features, n_classes = 1000, 100, 2
beta0 = np.random.normal(0.0, 1.0, 1)
beta = np.random.normal(0.0, 1.0, (n_features, n_classes))
// sample train and test data
glm_sim = GLM(distr="binomial", score_metric="accuracy")
After Change
Testing accuracy.
n_samples, n_features, n_classes = 1000, 100, 2
beta0 = np.random.rand()
betas = np.random.normal(0.0, 1.0, (n_features, n_classes))
// sample train and test data
glm_sim = GLM(distr="binomial", score_metric="accuracy")
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances
Project Name: glm-tools/pyglmnet
Commit Name: 242981f4577e5d90dbd6d3925d92eb5cb725e17a
Time: 2019-10-19
Author: mainakjas@gmail.com
File Name: tests/test_metrics.py
Class Name:
Method Name: test_accuracy
Project Name: glm-tools/pyglmnet
Commit Name: 242981f4577e5d90dbd6d3925d92eb5cb725e17a
Time: 2019-10-19
Author: mainakjas@gmail.com
File Name: tests/test_metrics.py
Class Name:
Method Name: test_pseudoR2
Project Name: glm-tools/pyglmnet
Commit Name: 242981f4577e5d90dbd6d3925d92eb5cb725e17a
Time: 2019-10-19
Author: mainakjas@gmail.com
File Name: tests/test_metrics.py
Class Name:
Method Name: test_deviance
Project Name: glm-tools/pyglmnet
Commit Name: c3521e9b272ebf01352b5184f0acf643d717a646
Time: 2019-10-19
Author: mainakjas@gmail.com
File Name: tests/test_pyglmnet.py
Class Name:
Method Name: test_group_lasso