Old engine for Continuous Time Bayesian Networks. Superseded by reCTBN. 🐍
https://github.com/madlabunimib/PyCTBN
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
12 KiB
1 lines
12 KiB
Search.setIndex({docnames:["index","rst/abstract_importer","rst/cache","rst/conditional_intensity_matrix","rst/json_importer","rst/modules","rst/network_graph","rst/parameters_estimator","rst/sample_path","rst/set_of_cims","rst/structure","rst/structure_estimator","rst/trajectory"],envversion:{"sphinx.domains.c":2,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":3,"sphinx.domains.index":1,"sphinx.domains.javascript":2,"sphinx.domains.math":2,"sphinx.domains.python":2,"sphinx.domains.rst":2,"sphinx.domains.std":1,sphinx:56},filenames:["index.rst","rst/abstract_importer.rst","rst/cache.rst","rst/conditional_intensity_matrix.rst","rst/json_importer.rst","rst/modules.rst","rst/network_graph.rst","rst/parameters_estimator.rst","rst/sample_path.rst","rst/set_of_cims.rst","rst/structure.rst","rst/structure_estimator.rst","rst/trajectory.rst"],objects:{"":{abstract_importer:[1,0,0,"-"],cache:[2,0,0,"-"],conditional_intensity_matrix:[3,0,0,"-"],json_importer:[4,0,0,"-"],network_graph:[6,0,0,"-"],parameters_estimator:[7,0,0,"-"],sample_path:[8,0,0,"-"],set_of_cims:[9,0,0,"-"],structure:[10,0,0,"-"],structure_estimator:[11,0,0,"-"],trajectory:[12,0,0,"-"]},"abstract_importer.AbstractImporter":{build_list_of_samples_array:[1,2,1,""],build_sorter:[1,2,1,""],clear_concatenated_frame:[1,2,1,""],compute_row_delta_in_all_samples_frames:[1,2,1,""],compute_row_delta_sigle_samples_frame:[1,2,1,""],concatenated_samples:[1,2,1,""],dataset_id:[1,2,1,""],file_path:[1,2,1,""],import_data:[1,2,1,""],sorter:[1,2,1,""],structure:[1,2,1,""],variables:[1,2,1,""]},"cache.Cache":{clear:[2,2,1,""],find:[2,2,1,""],put:[2,2,1,""]},"conditional_intensity_matrix.ConditionalIntensityMatrix":{cim:[3,2,1,""],compute_cim_coefficients:[3,2,1,""],state_residence_times:[3,2,1,""],state_transition_matrix:[3,2,1,""]},"json_importer.JsonImporter":{build_sorter:[4,2,1,""],clear_data_frame_list:[4,2,1,""],dataset_id:[4,2,1,""],import_data:[4,2,1,""],import_sampled_cims:[4,2,1,""],import_structure:[4,2,1,""],import_trajectories:[4,2,1,""],import_variables:[4,2,1,""],normalize_trajectories:[4,2,1,""],one_level_normalizing:[4,2,1,""],read_json_file:[4,2,1,""]},"network_graph.NetworkGraph":{add_edges:[6,2,1,""],add_nodes:[6,2,1,""],build_p_comb_structure_for_a_node:[6,2,1,""],build_time_columns_filtering_for_a_node:[6,2,1,""],build_time_scalar_indexing_structure_for_a_node:[6,2,1,""],build_transition_filtering_for_a_node:[6,2,1,""],build_transition_scalar_indexing_structure_for_a_node:[6,2,1,""],edges:[6,2,1,""],fast_init:[6,2,1,""],get_node_indx:[6,2,1,""],get_ordered_by_indx_set_of_parents:[6,2,1,""],get_parents_by_id:[6,2,1,""],get_positional_node_indx:[6,2,1,""],get_states_number:[6,2,1,""],nodes:[6,2,1,""],nodes_indexes:[6,2,1,""],nodes_values:[6,2,1,""],p_combs:[6,2,1,""],time_filtering:[6,2,1,""],time_scalar_indexing_strucure:[6,2,1,""],transition_filtering:[6,2,1,""],transition_scalar_indexing_structure:[6,2,1,""]},"parameters_estimator.ParametersEstimator":{compute_parameters_for_node:[7,2,1,""],compute_state_res_time_for_node:[7,2,1,""],compute_state_transitions_for_a_node:[7,2,1,""],fast_init:[7,2,1,""]},"sample_path.SamplePath":{build_structure:[8,2,1,""],build_trajectories:[8,2,1,""],structure:[8,2,1,""],total_variables_count:[8,2,1,""],trajectories:[8,2,1,""]},"set_of_cims.SetOfCims":{actual_cims:[9,2,1,""],build_cims:[9,2,1,""],build_times_and_transitions_structures:[9,2,1,""],filter_cims_with_mask:[9,2,1,""],get_cims_number:[9,2,1,""],p_combs:[9,2,1,""]},"structure.Structure":{edges:[10,2,1,""],get_node_id:[10,2,1,""],get_node_indx:[10,2,1,""],get_positional_node_indx:[10,2,1,""],get_states_number:[10,2,1,""],nodes_indexes:[10,2,1,""],nodes_labels:[10,2,1,""],nodes_values:[10,2,1,""],total_variables_number:[10,2,1,""]},"structure_estimator.StructureEstimator":{build_complete_graph:[11,2,1,""],complete_test:[11,2,1,""],ctpc_algorithm:[11,2,1,""],generate_possible_sub_sets_of_size:[11,2,1,""],independence_test:[11,2,1,""],one_iteration_of_CTPC_algorithm:[11,2,1,""],save_results:[11,2,1,""]},"trajectory.Trajectory":{complete_trajectory:[12,2,1,""],size:[12,2,1,""],times:[12,2,1,""],trajectory:[12,2,1,""]},abstract_importer:{AbstractImporter:[1,1,1,""]},cache:{Cache:[2,1,1,""]},conditional_intensity_matrix:{ConditionalIntensityMatrix:[3,1,1,""]},json_importer:{JsonImporter:[4,1,1,""]},network_graph:{NetworkGraph:[6,1,1,""]},parameters_estimator:{ParametersEstimator:[7,1,1,""]},sample_path:{SamplePath:[8,1,1,""]},set_of_cims:{SetOfCims:[9,1,1,""]},structure:{Structure:[10,1,1,""]},structure_estimator:{StructureEstimator:[11,1,1,""]},trajectory:{Trajectory:[12,1,1,""]}},objnames:{"0":["py","module","Python module"],"1":["py","class","Python class"],"2":["py","method","Python method"]},objtypes:{"0":"py:module","1":"py:class","2":"py:method"},terms:{"abstract":[1,3,4,6,12],"boolean":9,"class":[1,2,3,4,6,7,8,9,10,11,12],"float":11,"import":[1,4,8],"int":[4,6,7,9,10,11,12],"null":11,"return":[1,2,4,6,7,9,10,11],"true":11,HAS:1,Has:[6,7,8,11],NOT:11,The:[1,3,4,6,9,11],_actual_cach:2,_actual_cim:9,_actual_trajectori:12,_aggregated_info_about_nodes_par:6,_cach:11,_cim:3,_complete_graph:11,_concatenated_sampl:1,_df_samples_list:4,_df_structur:1,_df_variabl:1,_graph:6,_import:8,_list_of_sets_of_par:2,_net_graph:7,_node:11,_node_id:9,_nodes_indx:11,_nodes_v:11,_p_combs_structur:6,_sample_path:11,_single_set_of_cim:7,_sorter:1,_state_residence_tim:9,_structur:8,_structure_label:4,_time:12,_time_filt:6,_time_scalar_indexing_structur:6,_total_variables_count:8,_trajectori:8,_transition_filt:6,_transition_matric:9,_transition_scalar_indexing_structur:6,_variables_label:4,abc:1,about:[6,8,10,12],abstract_import:[4,5,8],abstractimport:[1,4,8],act:2,actual:[3,11],actual_cim:9,add:[4,6],add_edg:6,add_nod:6,added:11,addit:11,after:1,aggreg:[3,6,8,9],algorithm:11,all:[1,4,6,7,8,9,10,11],also:[11,12],anoth:6,appendend:11,arc:4,arrai:[1,3,4,7,9,12],array_indx:4,base:[1,2,3,4,6,7,8,9,10,11,12],belong:11,between:1,bool:11,both:[2,11],bound:9,build:[1,6,8,9,11],build_cim:9,build_complete_graph:11,build_list_of_samples_arrai:1,build_p_comb_structure_for_a_nod:6,build_sort:[1,4],build_structur:8,build_time_columns_filtering_for_a_nod:6,build_time_scalar_indexing_structure_for_a_nod:6,build_times_and_transitions_structur:9,build_trajectori:8,build_transition_filtering_for_a_nod:6,build_transition_scalar_indexing_structure_for_a_nod:6,built:11,cach:[5,11],call:1,cardin:[1,4,6,9,10,11],cardinalit:[4,8,10],caridin:9,caridinalit:[6,10],chang:[1,12],chi:11,chi_test:11,chi_test_alfa:11,child:11,child_states_numb:11,cim1:11,cim2:11,cim:[2,3,4,7,9,11],cims_kei:4,clear:[2,8],clear_concatenated_fram:1,clear_data_frame_list:4,coeffici:[3,9],col:12,cols_filt:7,column:[1,6,7],columns_head:1,comb:9,combin:[2,6],combinatori:6,common:11,complet:[11,12],complete_test:11,complete_trajectori:12,comput:[1,3,6,7,9,11],compute_cim_coeffici:3,compute_parameters_for_nod:7,compute_row_delta_in_all_samples_fram:1,compute_row_delta_sigle_samples_fram:1,compute_state_res_time_for_nod:7,compute_state_transitions_for_a_nod:7,concatanated_sampl:1,concaten:[1,8],concatenated_sampl:1,condit:3,conditional_intensity_matrix:[5,11],conditionalintensitymatrix:[3,9,11],consid:9,construct:[1,6],conta:4,contain:[1,3,4,6,8,9,10,11,12],content:[1,2,4],convert:1,copi:1,core:[1,4],correct:9,count:3,creat:[6,8,11],ctpc:11,ctpc_algorithm:11,current:[1,4],cut:1,dafram:4,data:[4,8,11,12],data_fram:1,datafram:[1,4,8],dataset:[1,4,6,11],dataset_id:[1,4],datfram:[1,4],definit:1,delta:[7,12],desir:6,df_samples_list:1,dict:4,dictionari:4,differ:1,digraph:11,dimens:9,direct:[6,11],doc:1,doubl:12,duplic:12,dyn:4,each:[1,4],edg:[1,6,10],edges_list:10,end:4,entir:11,equal:3,estim:[6,7,11],everi:[1,4,6],exampl:1,exclud:[1,11],exctract:[1,4],exp_test_alfa:11,exponenti:11,expos:1,ext:4,extract:[1,4,6],fals:11,fast_init:[6,7],file:[1,4,11],file_path:[1,4],filepath:4,fill:7,filter:[6,7,9],filter_cims_with_mask:9,find:2,first:11,follow:[1,3,4],form:6,found:2,frame:[1,4],from:[1,4,6,11],from_nod:1,gener:11,generate_possible_sub_sets_of_s:11,get_cims_numb:9,get_node_id:10,get_node_indx:[6,10],get_ordered_by_indx_set_of_par:6,get_parents_by_id:6,get_positional_node_indx:[6,10],get_states_numb:[6,10],given:[2,7,9,10,11],graph:[6,7,11],graph_struct:6,grid:6,has:1,have:[1,4],header:1,hold:[6,7],hypothesi:11,identifi:[1,4,6,7,9,11],iff:11,implement:[1,4],import_data:[1,4],import_sampled_cim:4,import_structur:4,import_trajectori:4,import_vari:4,independ:11,independence_test:11,index:[0,2,4,6,7,9,10,11],indic:[6,9],indipend:11,indx:4,info:[6,8,10,12],inform:8,initi:[1,6,7,9],input:11,interest:6,intes:3,iter:11,json:[4,11],json_import:5,jsonarrai:4,jsonimport:[1,4],keep:1,kei:4,label:[1,4,6,7,9,10,11],level:[4,11],list:[1,2,4,6,9,10,11,12],list_of_column:12,list_of_edg:6,list_of_nod:6,load:11,loop:11,mask:9,mask_arr:9,matric:[7,9],matrix:[3,6,7,9,12],member:[1,3,9],mention:8,merg:1,method:[1,4],modul:[0,5],multipl:[1,4],name:[1,4,6,10,11],ndarrai:[3,6,7,9,10],necessari:[1,4,6,7,11],nest:4,net:[1,4,6,7,8,10,11],net_graph:7,network:[1,4,10,11],network_graph:[5,7],networkgraph:[6,7],networkx:11,node:[1,2,3,4,6,7,9,10,11],node_id:[6,7,9,10,11],node_index:10,node_indx:[6,7,10],node_states_numb:9,nodes_index:[6,10],nodes_indexes_arr:10,nodes_label:10,nodes_labels_list:10,nodes_vals_arr:10,nodes_valu:[6,10],none:[1,2,3,4,6,7,8,9,11],normal:4,normalize_trajectori:4,number:[8,10,11,12],numpi:[1,3,6,7,9,10,12],object:[1,2,3,4,6,7,8,9,10,11,12],one:[1,4,6],one_iteration_of_ctpc_algorithm:11,one_level_norm:4,onli:1,origin:[1,4],original_cols_numb:12,otherwis:[2,11],out:1,outer:4,over:11,p_comb:[6,9],p_indx:6,page:0,panda:[1,4],param:6,paramet:[1,2,3,4,6,7,8,9,10,11,12],parameters_estim:5,parametersestim:7,parent:[2,6,9,11],parent_label:11,parent_set:11,parents_cardin:6,parents_comb:2,parents_index:6,parents_label:6,parents_states_numb:9,parents_v:6,parents_valu:6,particular:[4,7],path:[1,4,11],perform:11,place:[2,4],posit:[1,6],possibl:[6,11],prepar:4,present:[1,4],process:[1,4,8],properli:1,properti:[1,3,6,8,9,10,12],put:2,q_xx:3,raw_data:4,read:4,read_json_fil:4,real:[8,11],refer:4,reject:11,rel:6,relat:2,remain:1,remov:[1,4],repres:12,res:6,resid:[3,6,7,9],result:[1,7,11],results_:11,rtype:[6,11],same:2,sampl:[4,8],sample_fram:[1,4],sample_path:[5,11],samplepath:[8,11],samples_label:4,save:11,save_result:11,scalar_index:7,scalar_indexes_struct:7,search:0,see:1,self:[1,4,11],sep_set:11,set:[2,4,6,7,11,12],set_of_cim:[2,5,7],setofcim:[2,7,9],shift:[1,12],shifted_cols_head:1,signific:11,simbol:4,size:[11,12],socim:2,sorter:1,start:4,state:[3,6,7,9,12],state_res_tim:9,state_residence_tim:3,state_transition_matrix:3,str:[1,4,6,7,9,10,11],string:[4,6,7,10,11],structur:[1,4,5,6,7,8,9,11],structure_estim:5,structure_label:4,structureestim:11,structurr:8,structut:6,subset:11,symbol:[1,2,10],synthet:4,task:[6,7,8,11],test:11,test_child:11,test_par:11,tha:4,them:1,thi:[1,2,4,6,9],time:[1,3,6,7,9,12],time_filt:6,time_kei:4,time_scalar_indexing_strucur:6,timestamp:4,to_nod:1,tot_vars_count:11,total:[10,11,12],total_variables_count:8,total_variables_numb:10,traj:1,trajectori:[1,4,5,7,8,11],trajectories_kei:4,transit:[3,6,7,9],transition_filt:6,transition_matric:9,transition_scalar_indexing_structur:6,tri:2,tupl:6,two:11,type:[1,2,4,6,7,9,10,11],uniqu:[1,4],unus:8,used:[4,6],using:[3,4,11],valu:[1,4,6,12],var_id:11,variabel:4,variabl:[1,4,8,10,11],variable_cardin:1,variable_label:1,variables_kei:4,variables_label:4,vector:[3,7,9],where:[4,11],which:[1,2,4,6,9],without:11,word:11},titles:["Welcome to PyCTBN\u2019s documentation!","abstract_importer module","cache module","conditional_intensity_matrix module","json_importer module","scripts","network_graph module","parameters_estimator module","sample_path module","set_of_cims module","structure module","structure_estimator module","trajectory module"],titleterms:{abstract_import:1,cach:2,conditional_intensity_matrix:3,document:0,indic:0,json_import:4,modul:[1,2,3,4,6,7,8,9,10,11,12],network_graph:6,parameters_estim:7,pyctbn:0,sample_path:8,script:5,set_of_cim:9,structur:10,structure_estim:11,tabl:0,trajectori:12,welcom:0}}) |