Recommend for using Linux / macOS
git clone https://github.com/nimiusrd/MRR.git
git fetch origin main
git merge origin main
ref: https://docs.python.org/3/library/venv.html
python3 -m venv .venv
Run this command before execution.
. .venv/bin/activate
When you use M1 Mac,
brew install openblas
pip install cython pybind11 pythran numpy
OPENBLAS=$(brew --prefix openblas) CFLAGS="-falign-functions=8 ${CFLAGS}" pip install --no-use-pep517 scipy scikit-learn
This program uses numpy, matplotlib, and so on. Need to install modules from pip.
pip3 install -r requirements.txt
configuration file: src/config/base.py
python main.py
引数にはsrc/config/simulate
にあるシミュレーションをするものを指定する.
src/config/simulate/12_DE6.py
をシミュレーションしたい場合は以下のように実行する.
python simulator.py 12_DE6