This is supported by European Metrology Programme for Innovation and Research (EMPIR) under the project Metrology for the Factory of the Future (Met4FoF), project number 17IND12.
This is an implementation of an agent-based approach to machine learning utilizing
the external Python library scikit-multiflow
.
First you need to create a virtual environment, install all dependencies and finally
execute the examples. To install the dependencies you first have to install numpy
and then the specified requirements from the requirements.txt
.
In your Windows command prompt execute the following to set up a virtual environment in a folder of your choice.
> python -m venv agentMET4FOF_ml_env
> agentMET4FOF_ml_env\Scripts\activate.bat
(agentMET4FOF_ml_env) > pip install --upgrade pip numpy
And then install the required dependencies after navigating to the root of your clone.
(agentMET4FOF_ml_env) > pip install -r requirements.txt
In your terminal execute the following to set up a virtual environment in a folder of your choice.
$ python3 -m venv agentMET4FOF_ml_env
$ source agentMET4FOF_ml_env/bin/activate
(agentMET4FOF_ml_env) $ pip install --upgrade pip numpy
And then install the required dependencies after navigating to the root of your clone.
(agentMET4FOF_ml_env) $ pip install -r requirements.txt
In case you are using PyCharm, you will already find proper run configurations at the appropriate place in the IDE. If not you can proceed executing the script files manually.
If you have any questions please get in touch with the author.
The interesting parts you find in the subfolder agentMET4FOF_ml.
In the event of agents not terminating cleanly, you can end all Python processes running on your system (caution: the following commands affect all running Python processes, not just those that emerged from the agents).
In your Windows command prompt execute the following to terminate all python processes.
> taskkill /f /im python.exe /t
>
In your terminal execute the following to terminate all python processes.
$ pkill python
$
For details about the agents refer to the upstream repository agentMET4FOF