MCPcopy Create free account
hub / github.com/modAL-python/modAL / test_max_std_sampling

Method test_max_std_sampling

tests/core_tests.py:528–536  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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
539class TestEER(unittest.TestCase):

Callers

nothing calls this directly

Calls 1

fitMethod · 0.45

Tested by

no test coverage detected