ecfc46eeee8314961d7e6ea296e8245f29336d9d,nilmtk/metergroup.py,MeterGroup,pairwise_mutual_information,#MeterGroup#,862

Before Change


        pair of ElecMeters.
        
        meter_identifiers = list(self.identifier)
        mutual_inf = pd.DataFrame(index=meter_identifiers, columns=meter_identifiers)
        for i, m_i in enumerate(self.meters):
            for j, m_j in enumerate(self.meters):
                id_i = m_i.identifier
                id_j = m_j.identifier
                if i > j:
                    mutual_inf[id_i][id_j] = mutual_inf[id_j][id_i]
                else:
                    mutual_inf[id_i][id_j] = m_i.mutual_information(m_j)
        return mutual_inf

    def pairwise_correlation(self):
        
        Finds the pairwise correlation among different 

After Change


        pd.DataFrame of mutual information between
        pair of ElecMeters.
        
        return self.pairwise("mutual_information")

    def pairwise_correlation(self):
        
        Finds the pairwise correlation among different 
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: nilmtk/nilmtk
Commit Name: ecfc46eeee8314961d7e6ea296e8245f29336d9d
Time: 2014-12-02
Author: jack-list@xlk.org.uk
File Name: nilmtk/metergroup.py
Class Name: MeterGroup
Method Name: pairwise_mutual_information


Project Name: nilmtk/nilmtk
Commit Name: ecfc46eeee8314961d7e6ea296e8245f29336d9d
Time: 2014-12-02
Author: jack-list@xlk.org.uk
File Name: nilmtk/metergroup.py
Class Name: MeterGroup
Method Name: pairwise_correlation


Project Name: nilmtk/nilmtk
Commit Name: ecfc46eeee8314961d7e6ea296e8245f29336d9d
Time: 2014-12-02
Author: jack-list@xlk.org.uk
File Name: nilmtk/metergroup.py
Class Name: MeterGroup
Method Name: pairwise_mutual_information


Project Name: daavoo/pyntcloud
Commit Name: 88af2371706342c39aeb318dc3140d8bbb8628a8
Time: 2017-05-24
Author: jcole+github@3rivers3d.com
File Name: pyntcloud/sampling/s_points.py
Class Name: RandomPoints
Method Name: compute