Giter VIP home page Giter VIP logo

multi-nilm's Introduction

MULTI-NILM: A novel framework for multi-label Non-Intrusive Load Monitoring

Description

This repository is based on our paper with title: "On time series representations for multi-label NILM" [1] and it can be used to replicate the experiments. It defines a framework for multi-label NILM systems and includes the following time series representations: Signal2Vec, BOSS, SFA, WEASEL, DFT, SAX, 1d-SAX, PAA; and an implementation of delay embedding using Taken's theorem. Feel free to reuse, modify and extend this repository.

Multi-NILM framework

Multi-nilm is a novel framework for efficient non-intrusive load monitoring systems. It has three inherent properties:

  • It utilizes a data representation for sufficient dimensionality reduction.
  • It uses lightweight disaggregation models.
  • It tackles the disaggregation problem as a multi-label classification problem.

Examples

Examples of experiments can be found under the directory experiments. The module experiments.py defines three types of experiments (GenericExperiment, ModelSelectionExperiment and REDDModelSelectionExperiment). You can also create your own experiment by extending the abstract class nilmlab.lab.Experiment.

After defining an experiment it requires only a few lines of code to setup and configure it. All files with names run*.py are specific implementations that can be used as a reference. In order to run any of them it is as simple as:

python -m experiments.run_generic_experiment

The results are saved under the directory results as a csv file containing information about the setup, the source of the data, the parameters, the classification models, the performance and others.

Data

Currently only REDD and UK DALE are supported, which have to be downloaded manually. The popular NILMTK toolkit is used for reading the energy data.

Project structure

A detailed structure of the project is presented below. The key points are:

Dependencies

The code has been developed using python3.6 and the dependencies can be found in requirements.txt.

Licence

This project is licensed under the MIT License - see the LICENSE file for details

References

  1. Nalmpantis, C., Vrakas, D. On time series representations for multi-label NILM. Neural Comput & Applic (2020). https://doi.org/10.1007/s00521-020-04916-5
  2. Nalmpantis, C., & Vrakas, D. (2019, May). Signal2Vec: Time Series Embedding Representation. In International Conference on Engineering Applications of Neural Networks (pp. 80-90). Springer, Cham. https://doi.org/10.1007/978-3-030-20257-6_7

multi-nilm's People

Contributors

christofernal avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.