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

Method setUp

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

Source from the content-addressed store, hash-verified

743
744class TestDropout(unittest.TestCase):
745 def setUp(self):
746 self.skorch_classifier = NeuralNetClassifier(Torch_Model,
747 criterion=torch.nn.CrossEntropyLoss,
748 optimizer=torch.optim.Adam,
749 train_split=None,
750 verbose=1)
751
752 def test_mc_dropout_bald(self):
753 learner = modAL.models.learners.DeepActiveLearner(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected