Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/n/i/nilmtk-HEAD/nilmtk/preprocessing/electricity/building.py   nilmtk(Download)
from nilmtk.stats.electricity.building import find_appliances_contribution
from nilmtk.stats.electricity.building import top_k_appliances
from nilmtk.stats.electricity.single import get_sample_period, get_gap_starts_and_gap_ends
 
from nilmtk.preprocessing.electricity.single import remove_implausible_entries
          .format(get_sample_period(mains), max_sample_period))
    print("Getting gap starts and ends...")
    gap_starts, gap_ends = get_gap_starts_and_gap_ends(mains, max_sample_period)
    print("Found {:d} gap starts and {:d} gap ends.".format(len(gap_starts), len(gap_ends)))