Files
cocos/test/manual/algo
Sammy Kerata Oina aebe01a873 NOISSUE - Updated README with static binary instructions (#130)
Enhanced the manual algorithm testing documentation by including steps to install additional dependencies and guidance on creating static binaries. This ensures wider compatibility and ease of deployment for python programs tested with this framework.

Signed-off-by: SammyOina <sammyoina@gmail.com>
2024-05-22 14:40:34 +02:00
..

Algorithm

Agent accepts binaries programs. To use the python program you need to bundle or compile it. In this example we'll use pyinstaller

pip3 install pandas scikit-learn 
pip install -U pyinstaller
pyinstaller --onefile lin_reg.py

Make the binary static:

pip install staticx
staticx <dynamic_binary_file_path> <output_file_path>