cd302eee53de29de903c5467d7686f75b0b65a6c,nilmtk/disaggregate/fhmm_exact.py,FHMM,disaggregate,#FHMM#,267

Before Change


        // Extract optional parameters from load_kwargs
        date_now = datetime.now().isoformat().split(".")[0]
        output_name = load_kwargs.pop("output_name", "NILMTK_FHMM_" + date_now)
        resample_seconds = load_kwargs.pop("resample_seconds", 60)

        resample_rule = "{:d}S".format(resample_seconds)
        timeframes = []
        building_path = "/building{}".format(mains.building())
        mains_data_location = "{}/elec/meter1".format(building_path)
        data_is_available = False

After Change


        date_now = datetime.now().isoformat().split(".")[0]
        output_name = load_kwargs.pop("output_name", "NILMTK_FHMM_" + date_now)

        if "resample_seconds" in load_kwargs:
            warn(""resample_seconds" is deprecated."
                 "  Please use "sample_period" instead.")
            load_kwargs["sample_period"] = load_kwargs.pop("resample_seconds")

        load_kwargs.setdefault("sample_period", 60)
        resample_seconds = load_kwargs["sample_period"]
        timeframes = []
        building_path = "/building{}".format(mains.building())
        mains_data_location = "{}/elec/meter1".format(building_path)
        data_is_available = False
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 11

Instances


Project Name: nilmtk/nilmtk
Commit Name: cd302eee53de29de903c5467d7686f75b0b65a6c
Time: 2015-09-21
Author: jack-list@xlk.org.uk
File Name: nilmtk/disaggregate/fhmm_exact.py
Class Name: FHMM
Method Name: disaggregate


Project Name: nilmtk/nilmtk
Commit Name: cd302eee53de29de903c5467d7686f75b0b65a6c
Time: 2015-09-21
Author: jack-list@xlk.org.uk
File Name: nilmtk/disaggregate/fhmm_exact.py
Class Name: FHMM
Method Name: disaggregate


Project Name: nilmtk/nilmtk
Commit Name: 698983cb5a2a7f5492a96dd61818bf8d0f31c231
Time: 2015-09-18
Author: jack-list@xlk.org.uk
File Name: nilmtk/disaggregate/combinatorial_optimisation.py
Class Name: CombinatorialOptimisation
Method Name: disaggregate


Project Name: nilmtk/nilmtk
Commit Name: 89b4d47b2e800038a89cf08c8a7faa2acc570cc4
Time: 2015-09-21
Author: jack-list@xlk.org.uk
File Name: nilmtk/disaggregate/hart_85.py
Class Name: Hart85
Method Name: disaggregate