Integration between Dojot and Platiagro. Apply models over the data coming from the IoT platform (Dojot).
Isolation Forest & Logistic Regression modules scikit-learn library;
Data generated from emulated IoT devices. Check mqtt-emulator from Dojot repository for more details;
- Download and install Python version 3.7+ and the Pip package manager. Follow the instructions (according to your operating system) on the official website of the distributor.
- Create a Python virtual environment for the project using Virtualenv. This will cause project dependencies to be isolated from your Operating System. Once you create the python environment, enable it before proceeding to the next steps. Ex: You should see
(env)your-user-name:$
in the terminal. - Run
$ pip install -r requirements.txt
to install dependencies. - Run
(env)$ python src/app.py
. The application port is set to 3003 as the default, however, you can choose another port by changing the properties in the config.py file.