(self)
| 496 | returned_KL_disagreement, true_KL_disagreement) |
| 497 | |
| 498 | def test_vote_entropy_sampling(self): |
| 499 | for n_samples, n_features, n_classes in product(range(1, 10), range(1, 10), range(1, 10)): |
| 500 | committee = mock.MockCommittee(classes_=np.asarray(range(n_classes)), |
| 501 | vote_return=np.zeros(shape=(n_samples, n_classes), dtype=np.int16)) |
| 502 | modAL.disagreement.vote_entropy_sampling( |
| 503 | committee, np.random.rand(n_samples, n_features)) |
| 504 | modAL.disagreement.vote_entropy_sampling(committee, np.random.rand(n_samples, n_features), |
| 505 | random_tie_break=True) |
| 506 | |
| 507 | def test_consensus_entropy_sampling(self): |
| 508 | for n_samples, n_features, n_classes in product(range(1, 10), range(1, 10), range(1, 10)): |
nothing calls this directly
no outgoing calls
no test coverage detected