Open klemenjak opened 5 years ago
Hello @klemenjak!
I apologize for the really late reply. The API does not support choosing an appliance manually. If you wish to choose it manually, you can load the data as list of data frames and use the nilmtk-contrib algorithms to train and test. Then you can compute the metrics of your choice.
But again the process is just similar to the process of training in the original nilmtk. Definitely the API has a a few advantages, but it also has its fair share of limitations.
I'll add a notebook soon to show the usage of the nilmtk-contrib algorithms on custom data.
Hi, thank you so much for your reply. Highly appreciated. I will try to do that :)
could we use nilmtk.global_meter_group[ElecMeterID(instance=18, building=1, dataset='REDD')] to choose the specific meter?
Hi,
thanks for providing such a great extension to NILMTK!
I don't have an issue but a question on the API. In cases where a dataset has multiple appliances of the same kind, how do I select a specific appliance? For instance, how do I select fridge number two if there is more than one fridge in a MeterGroup in your API?
Let me explain what I mean with the help of REDD. I loaded the HDF5 version with NILMTK:
As we see, there are three different meters related to the appliance type 'light': 9, 17 and 18.
OUT[1]:
How would I select light number 18 with the help of the new API? I tried using the integer values but ran into problems. Usually, one would use elec[18] to select meter 18 but that didn't work for me.
In the API, I guess the following statement would give me the first instance of lights, right?
I would be happy to receive some hints how I could fix that. For sure, this topic will apply to others as well.
Thanks, Christoph