Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Selim321/flask-NILM-app-v1
A flask app that predicts the state of each appliance in a given time period.
https://github.com/Selim321/flask-NILM-app-v1
Last synced: 2 months ago
JSON representation
A flask app that predicts the state of each appliance in a given time period.
- Host: GitHub
- URL: https://github.com/Selim321/flask-NILM-app-v1
- Owner: Selim321
- Created: 2022-06-22T09:50:35.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-06-22T10:54:53.000Z (over 2 years ago)
- Last Synced: 2024-08-02T16:32:04.686Z (6 months ago)
- Language: Python
- Size: 145 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-NILM-with-code - [Flask
README
# flask-NILM-app-v1
A flask app that predicts the state of each appliance in a given time period. The app take as input time interval and returns a vector that represents the predicted states of each appliance from the aggregate power data persisted in model/data.joblib. The considered appliances are: fridge and washing machine.## Notes
To run the app locally on a windows machine:
1. Clone the repo.
2. Create a virtual environment and install the packages in the requirements.txt.
3. Persiste the model by using the model.py and then uncomment the line where the model is converted to a .joblib file.
4. Run a local server by opening a terminal and tapping : "set FLASK_APP = app" and on a new line "python app.py".
5. Copy the URL and open it in your browser.