6bc6978ad31c2adda4540f059340dc61ce4fde3c,src/spn/experiments/RandomSPNs/RAT_SPN.py,RatSpn,get_simple_spn,#RatSpn#Any#,378

Before Change


                prod = base.Product()
                prod.scope.extend(leaf_vector.scope)
                for j, r in enumerate(leaf_vector.scope):
                    prod.children.append(para.Gaussian(mean=means[j, i],
                                                       stdev=stdevs[j, i],
                                                       scope=[r]))

                vec_to_nodes[leaf_vector].append(prod)

After Change


                prod.id = node_id = node_id + 1
                prod.scope.extend(leaf_vector.scope)
                for j, r in enumerate(leaf_vector.scope):
                    gaussian = para.Gaussian(mean=means[j, i],
                                             stdev=stdevs[j, i],
                                             scope=[r])
                    gaussian.id = node_id = node_id + 1
                    prod.children.append(gaussian)

                vec_to_nodes[leaf_vector].append(prod)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: SPFlow/SPFlow
Commit Name: 6bc6978ad31c2adda4540f059340dc61ce4fde3c
Time: 2018-09-11
Author: stelzner@cs.tu-darmstadt.de
File Name: src/spn/experiments/RandomSPNs/RAT_SPN.py
Class Name: RatSpn
Method Name: get_simple_spn


Project Name: GPflow/GPflow
Commit Name: e6ce836b2925a677d0924e8859439937ba5808dc
Time: 2019-03-18
Author: sergio.diaz@prowler.io
File Name: unsorted_tests/test_multioutput.py
Class Name:
Method Name: test_shared_independent_mok


Project Name: SPFlow/SPFlow
Commit Name: e83c4ba2424b141f626e8fc911286b7996649c62
Time: 2018-07-16
Author: stelzner@cs.tu-darmstadt.de
File Name: src/spn/experiments/RandomSPNs/RAT_SPN.py
Class Name: RatSpn
Method Name: get_simple_spn