f33a0c440d0291c7205f307c519d1f634e72fb80,dit/pid/pid.py,BaseIncompletePID,_compute_lattice_monotonicity,#BaseIncompletePID#,337

Before Change


                        nodes.remove(n)

        // everything above a redundancy of I(inputs, output) is I(inputs, output)
        nodes = nx.topological_sort(self._lattice, reverse=True)
        while nodes:
            node = nodes.pop(0)
            if node in reds and np.isclose(reds[node], self._total):
                for n in ascendants(self._lattice, node):

After Change


                        nodes.remove(n)

        // everything above a redundancy of I(inputs, output) is I(inputs, output)
        nodes = list(reversed(list(nx.topological_sort(self._lattice))))
        while nodes:
            node = nodes.pop(0)
            if node in reds and np.isclose(reds[node], self._total):
                for n in ascendants(self._lattice, node):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: dit/dit
Commit Name: f33a0c440d0291c7205f307c519d1f634e72fb80
Time: 2017-09-21
Author: ryangregoryjames@gmail.com
File Name: dit/pid/pid.py
Class Name: BaseIncompletePID
Method Name: _compute_lattice_monotonicity


Project Name: pgmpy/pgmpy
Commit Name: 88212547e91a21fb28157edfd4cb3d2e73ee8351
Time: 2016-05-18
Author: erotemic@gmail.com
File Name: pgmpy/inference/Sampling.py
Class Name: BayesianModelSampling
Method Name: __init__


Project Name: dit/dit
Commit Name: f33a0c440d0291c7205f307c519d1f634e72fb80
Time: 2017-09-21
Author: ryangregoryjames@gmail.com
File Name: dit/profiles/information_partitions.py
Class Name: BaseInformationPartition
Method Name: _partition


Project Name: dit/dit
Commit Name: f33a0c440d0291c7205f307c519d1f634e72fb80
Time: 2017-09-21
Author: ryangregoryjames@gmail.com
File Name: dit/pid/pid.py
Class Name: BasePID
Method Name: _compute_mobius_inversion