(self)
| 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)): |
| 518 | committee = mock.MockCommittee( |
| 519 | n_learners=n_learners, classes_=range(n_classes), |
| 520 | vote_proba_return=np.zeros( |
| 521 | shape=(n_samples, n_learners, n_classes)) |
| 522 | ) |
| 523 | modAL.disagreement.max_disagreement_sampling( |
| 524 | committee, np.random.rand(n_samples, n_features)) |
| 525 | modAL.disagreement.max_disagreement_sampling(committee, np.random.rand(n_samples, n_features), |
| 526 | random_tie_break=True) |
| 527 | |
| 528 | def test_max_std_sampling(self): |
| 529 | for n_samples, n_features in product(range(1, 10), range(1, 10)): |
nothing calls this directly
no outgoing calls
no test coverage detected