957bcd2b2fa9fb76d27b59d1f0c7f8701ba732f7,pgmpy/inference/dbn_inference.py,DBNInference,__init__,#DBNInference#,12
Before Change
one_and_half_markov_model = self.one_and_half_model.to_markov_model()
combinations_slice_0 = list(itertools.combinations(model.get_interface_nodes(0), 2))
combinations_slice_1 = list(itertools.combinations(model.get_interface_nodes(1), 2))
start_markov_model.add_edges_from(combinations_slice_0)
one_and_half_markov_model.add_edges_from(combinations_slice_0 + combinations_slice_1)
After Change
one_and_half_markov_model = self.one_and_half_model.to_markov_model()
combinations_slice_0 = itertools.combinations(model.get_interface_nodes(0), 2)
combinations_slice_1 = itertools.combinations(model.get_interface_nodes(1), 2)
start_markov_model.add_edges_from(combinations_slice_0)
one_and_half_markov_model.add_edges_from(itertools.chain(combinations_slice_0, combinations_slice_1))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
Project Name: pgmpy/pgmpy
Commit Name: 957bcd2b2fa9fb76d27b59d1f0c7f8701ba732f7
Time: 2015-08-17
Author: abhor902@gmail.com
File Name: pgmpy/inference/dbn_inference.py
Class Name: DBNInference
Method Name: __init__
Project Name: pgmpy/pgmpy
Commit Name: 97b2ccec94583a7876566a340f06e84a63340272
Time: 2015-03-26
Author: pratyaksh@me.com
File Name: pgmpy/inference/ExactInference.py
Class Name: VariableElimination
Method Name: induced_graph
Project Name: pgmpy/pgmpy
Commit Name: 957bcd2b2fa9fb76d27b59d1f0c7f8701ba732f7
Time: 2015-08-17
Author: abhor902@gmail.com
File Name: pgmpy/inference/dbn_inference.py
Class Name: DBNInference
Method Name: __init__