Python: 3.7.3 GCC: 8.3.0
Commencer par clone le repo : git clone https://github.com/Aleridia/HMS-python
Merci de bien mettre à jour pip! Nécessaire pour l'installation des modules (peut poser des problèmes d'incompatibilité si mauvaise version de pip)
python -m pip install -U pip
pip install numpy scikit-learn matplotlib pandas
cd C/src
gcc -pthread server.c -lpthread -o server
gcc client.c -o client
Ordre d'exécution : script python => serveur C => client C/src
Utilisez 3 shell différents
cd Python/
python3 TestIsolationForest_socket.py
Spécifiez l'IP du serveur où le script python tourne :
cd C/src
./server 127.0.1
Usage : ./client <vms> <name> <source
cd C/src
./client 127.0.0.1 temperature ../../data/temperature.tsv