PyCTBN.tests.estimators package¶
Submodules¶
PyCTBN.tests.estimators.test_parameters_estimator module¶
-
class
PyCTBN.tests.estimators.test_parameters_estimator.
TestParametersEstimatior
(methodName='runTest')¶ Bases:
unittest.case.TestCase
-
aux_import_sampled_cims
(cims_label)¶
-
cim_equality_test
(cim1, cim2)¶
-
equality_of_cims_of_node
(sampled_cims, estimated_cims)¶
-
classmethod
setUpClass
() → None¶ Hook method for setting up class fixture before running tests in the class.
-
test_compute_parameters_for_node
()¶
-
test_fast_init
()¶
-
PyCTBN.tests.estimators.test_structure_constraint_based_estimator module¶
-
class
PyCTBN.tests.estimators.test_structure_constraint_based_estimator.
TestStructureConstraintBasedEstimator
(methodName='runTest')¶ Bases:
unittest.case.TestCase
-
classmethod
setUpClass
()¶ Hook method for setting up class fixture before running tests in the class.
-
test_structure_1
()¶
-
test_structure_2
()¶
-
test_structure_3
()¶
-
classmethod
PyCTBN.tests.estimators.test_structure_estimator module¶
-
class
PyCTBN.tests.estimators.test_structure_estimator.
TestStructureEstimator
(methodName='runTest')¶ Bases:
unittest.case.TestCase
-
classmethod
setUpClass
()¶ Hook method for setting up class fixture before running tests in the class.
-
test_adjacency_matrix
()¶
-
test_build_complete_graph
()¶
-
test_build_removable_edges_matrix
()¶
-
test_generate_possible_sub_sets_of_size
()¶
-
test_init
()¶
-
test_save_plot_estimated_graph
()¶
-
test_save_results
()¶
-
test_time
()¶
-
classmethod
PyCTBN.tests.estimators.test_structure_score_based_estimator module¶
-
class
PyCTBN.tests.estimators.test_structure_score_based_estimator.
TestStructureScoreBasedEstimator
(methodName='runTest')¶ Bases:
unittest.case.TestCase
-
classmethod
setUpClass
()¶ Hook method for setting up class fixture before running tests in the class.
-
test_structure_1
()¶
-
test_structure_2
()¶
-
test_structure_3
()¶
-
test_structure_monoprocesso
()¶
-
classmethod