727196fda06a4c79354ad7f181c279ef78022e55,nilmtk/elecmeter.py,ElecMeter,dropout_rate,#ElecMeter#,435
Before Change
DropoutRateResults object if `full_results` is True,
else float
full_results = loader_kwargs.pop("full_results", False)
source_node = self.get_source_node(**loader_kwargs)
dropout_rate = DropoutRate(source_node)
dropout_rate.run()
if full_results:
return dropout_rate.results
else:
return dropout_rate.results.simple()
def good_sections(self, **loader_kwargs):
Parameters
----------
After Change
else float
nodes = [DropoutRate]
return self._compute_stat(nodes, loader_kwargs)
def good_sections(self, **loader_kwargs):
Parameters
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 8
Instances
Project Name: nilmtk/nilmtk
Commit Name: 727196fda06a4c79354ad7f181c279ef78022e55
Time: 2014-11-25
Author: jack-list@xlk.org.uk
File Name: nilmtk/elecmeter.py
Class Name: ElecMeter
Method Name: dropout_rate
Project Name: nilmtk/nilmtk
Commit Name: 80a0435e2cc93f37ab94ebd23c73d9d023e7b6c6
Time: 2014-11-25
Author: jack-list@xlk.org.uk
File Name: nilmtk/elecmeter.py
Class Name: ElecMeter
Method Name: _compute_stat
Project Name: nilmtk/nilmtk
Commit Name: a583300c421eb31041883e2775280810f1e853ba
Time: 2014-11-25
Author: jack-list@xlk.org.uk
File Name: nilmtk/elecmeter.py
Class Name: ElecMeter
Method Name: good_sections