4953bd16ff9135a11f30d62ca4671013125e4daf,regtests/lmbtr.py,LMBTRTests,test_parallel_sparse,#LMBTRTests#,413
Before Change
assumed = np.empty((3, n_features))
assumed[0, :] = desc.create(samples[0], [0]).toarray()
assumed[1, :] = desc.create(samples[1], [0]).toarray()
assumed[2, :] = desc.create(samples[1], [1]).toarray()
self.assertTrue(np.allclose(output, assumed))
// Test when position given as indices
After Change
).todense()
assumed = np.empty((2, 2, n_features))
assumed[0, 0] = desc.create(samples[0], [0]).todense()
assumed[0, 1] = desc.create(samples[0], [1]).todense()
assumed[1, 0] = desc.create(samples[1], [0]).todense()
assumed[1, 1] = desc.create(samples[1], [1]).todense()
self.assertTrue(np.allclose(output, assumed))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: SINGROUP/dscribe
Commit Name: 4953bd16ff9135a11f30d62ca4671013125e4daf
Time: 2021-02-05
Author: lauri.himanen@gmail.com
File Name: regtests/lmbtr.py
Class Name: LMBTRTests
Method Name: test_parallel_sparse
Project Name: ClimbsRocks/auto_ml
Commit Name: 3f74cd386abdc18a4b0b48160686f9654fb22bc1
Time: 2016-12-01
Author: ClimbsBytes@gmail.com
File Name: auto_ml/utils_model_training.py
Class Name: FinalModelATC
Method Name: predict_proba
Project Name: WZBSocialScienceCenter/tmtoolkit
Commit Name: a3fd728f8cbf7c4f278681c36f7f668def787376
Time: 2019-08-23
Author: markus.konrad@wzb.eu
File Name: tests/test_bow.py
Class Name:
Method Name: test_codoc_frequencies