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