4a87f3b65125fb105168e4ff3f9aff3edfb9ab58,nilmtk/tests/generate_test_data.py,,create_energy_hdf5,#,132

Before Change


        "site_meter": True}

    key = "building1/electric/meter2"
    print("Saving", key)
    store.put(key, df, format="table")
    store.get_storer(key).attrs.metadata = {
        "instance": 2,
        "building": 1,

After Change


        key = "building1/electric/sensor{:d}".format(meter_i)
        print("Saving", key)
        store.put(key, df, format="table")
        meta = {
            "instance": meter_i,
            "building": 1,
            "dataset": "REDD",
            "device_model": meter_device["model"],
            "sensors": [{"data_location": key}]
        }
        additional_meta = {
            1: {"site_meter": True},
            2: {"submeter_of": 1},
            3: {"submeter_of": 2}
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: nilmtk/nilmtk
Commit Name: 4a87f3b65125fb105168e4ff3f9aff3edfb9ab58
Time: 2014-05-21
Author: jack-list@xlk.org.uk
File Name: nilmtk/tests/generate_test_data.py
Class Name:
Method Name: create_energy_hdf5


Project Name: interactiveaudiolab/nussl
Commit Name: 4ef8f94ea8f6fc3cc1f35743e7c7af0b92ffb76b
Time: 2018-11-29
Author: prem@u.northwestern.edu
File Name: nussl/separation/deep_separation.py
Class Name: DeepSeparation
Method Name: __init__


Project Name: ReactionMechanismGenerator/RMG-Py
Commit Name: 8d4d526906bf1b5113c63efcbd526ed2311cbe66
Time: 2019-08-29
Author: mjliu@mit.edu
File Name: utilities.py
Class Name:
Method Name: check_dependencies