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

Method test_num_epochs

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

Source from the content-addressed store, hash-verified

914 self.assertEqual(batch_size, learner.batch_size)
915
916 def test_num_epochs(self):
917 learner = modAL.models.learners.DeepActiveLearner(
918 estimator=self.mock_deep_estimator
919 )
920
921 for num_epochs in range(1, 50):
922 learner.num_epochs = num_epochs
923 self.assertEqual(num_epochs, learner.num_epochs)
924
925
926class TestActiveLearner(unittest.TestCase):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected