test_mdn_trainer
TestMDNTrainer
Bases: unittest.TestCase
This test class provides unit tests for the MDNTrainer class.
Source code in uncertaintyplayground/tests/test_mdn_trainer.py
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
|
setUp()
Sets up the testing environment for each test method.
Source code in uncertaintyplayground/tests/test_mdn_trainer.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
|
test_predict_with_uncertainty()
Tests the predict_with_uncertainty method of the MDNTrainer class.
Source code in uncertaintyplayground/tests/test_mdn_trainer.py
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
|
test_train()
Tests the train method of the MDNTrainer class.
Source code in uncertaintyplayground/tests/test_mdn_trainer.py
29 30 31 32 33 34 |
|