|
|
|
@ -29,7 +29,7 @@ class TestStructureScoreBasedEstimator(unittest.TestCase): |
|
|
|
|
def test_structure(self): |
|
|
|
|
#cls.read_files = glob.glob(os.path.join('../../data', "*.json")) |
|
|
|
|
self.importer = ji.JsonImporter("/home/alessandro/Documents/ctbn_cba/data/networks_and_trajectories_ternary_data_6.json", 'samples', 'dyn.str', 'variables', 'Time', 'Name') |
|
|
|
|
self.s1 = sp.SamplePath(cls.importer) |
|
|
|
|
self.s1 = sp.SamplePath(self.importer) |
|
|
|
|
self.s1.build_trajectories() |
|
|
|
|
self.s1.build_structure() |
|
|
|
|
|
|
|
|
@ -50,7 +50,7 @@ class TestStructureScoreBasedEstimator(unittest.TestCase): |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
self.importer = ji.JsonImporter("/home/alessandro/Documents/ctbn_cba/data/networks_and_trajectories_ternary_data_6.json", 'samples', 'dyn.str', 'variables', 'Time', 'Name') |
|
|
|
|
self.s1 = sp.SamplePath(cls.importer) |
|
|
|
|
self.s1 = sp.SamplePath(self.importer) |
|
|
|
|
self.s1.build_trajectories() |
|
|
|
|
self.s1.build_structure() |
|
|
|
|
|
|
|
|
|