|
|
|
@ -96,7 +96,7 @@ Structure Estimation Example |
|
|
|
|
|
|
|
|
|
from PyCTBN import JsonImporter |
|
|
|
|
from PyCTBN import SamplePath |
|
|
|
|
from PyCTBNimport StructureEstimator |
|
|
|
|
from PyCTBN import StructureEstimator |
|
|
|
|
|
|
|
|
|
def structure_estimation_example(): |
|
|
|
|
|
|
|
|
@ -119,4 +119,4 @@ Structure Estimation Example |
|
|
|
|
# the adjacency matrix of the estimated structure |
|
|
|
|
print(se1.adjacency_matrix()) |
|
|
|
|
# save results to a json file |
|
|
|
|
se1.save_results() |
|
|
|
|
se1.save_results() |
|
|
|
|