(self)
| 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)): |
| 509 | committee = mock.MockCommittee( |
| 510 | predict_proba_return=np.random.rand(n_samples, n_classes)) |
| 511 | modAL.disagreement.consensus_entropy_sampling( |
| 512 | committee, np.random.rand(n_samples, n_features)) |
| 513 | modAL.disagreement.consensus_entropy_sampling(committee, np.random.rand(n_samples, n_features), |
| 514 | random_tie_break=True) |
| 515 | |
| 516 | def test_max_disagreement_sampling(self): |
| 517 | for n_samples, n_features, n_classes, n_learners in product(range(1, 10), range(1, 10), range(1, 10), range(2, 5)): |
nothing calls this directly
no outgoing calls
no test coverage detected