12dict={
'0min':2,
'5min':3,
'10min':2}
13input=spatiotemporal.get_example_path(
'toy/data')
14output=spatiotemporal.get_example_path(
'toy/output_notemp')
20nodes,graph,graph_prob,graph_scores=spatiotemporal.create_DAG(dict,input_dir=input,output_dir=output,draw_dag=draw_dag)
25dict={
'0min':2,
'5min':3,
'10min':2}
26input=spatiotemporal.get_example_path(
'toy/data')
27output=spatiotemporal.get_example_path(
'toy/output_temp')
29subcomplexes=[
'A1',
'A2',
'B1',
'B2']
31nodes,graph,graph_prob,graph_scores=spatiotemporal.create_DAG(dict,input_dir=input,output_dir=output,spatio_temporal_rule=
True,expected_subcomplexes=subcomplexes,draw_dag=draw_dag)
36dict={
'0min':2,
'5min':3,
'10min':2}
37input=spatiotemporal.get_example_path(
'toy/data')
38output=spatiotemporal.get_example_path(
'toy/output_stoich')
39subcomplexes=[
'A1',
'A2',
'B1',
'B2']
41exp_comp={
'A':
'exp_comp_A.csv',
'B':
'exp_comp_B.csv'}
44nodes,graph,graph_prob,graph_scores=spatiotemporal.create_DAG(dict,input_dir=input,output_dir=output,spatio_temporal_rule=
True,expected_subcomplexes=subcomplexes,score_comp=
True,exp_comp_map=exp_comp,draw_dag=draw_dag)
49dict={
'0min':2,
'5min':3,
'10min':2}
50input=spatiotemporal.get_example_path(
'toy/data_precise')
51output=spatiotemporal.get_example_path(
'toy/output_stoich_precise')
52subcomplexes=[
'A1',
'A2',
'B1',
'B2']
53exp_comp={
'A':
'exp_comp_A_precise.csv',
'B':
'exp_comp_B_precise.csv'}
56nodes,graph,graph_prob,graph_scores=spatiotemporal.create_DAG(dict,out_pdf=
True,npaths=2,input_dir=input,output_dir=output,spatio_temporal_rule=
True,expected_subcomplexes=subcomplexes,score_comp=
True,exp_comp_map=exp_comp,draw_dag=draw_dag)
Spatialtemporal scoring in IMP.