| 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)): |
| 530 | regressor = GaussianProcessRegressor() |
| 531 | regressor.fit(np.random.rand(n_samples, n_features), |
| 532 | np.random.rand(n_samples)) |
| 533 | modAL.disagreement.max_std_sampling( |
| 534 | regressor, np.random.rand(n_samples, n_features)) |
| 535 | modAL.disagreement.max_std_sampling(regressor, np.random.rand(n_samples, n_features), |
| 536 | random_tie_break=True) |
| 537 | |
| 538 | |
| 539 | class TestEER(unittest.TestCase): |