Skip to content

nimiusrd/MRR

Repository files navigation

MRR

Need to install

Python 3 Git

OS

Recommend for using Linux / macOS

Download this repository

git clone https://github.com/nimiusrd/MRR.git

Update this repository

git fetch origin main
git merge origin main

仮想環境 / virtual env

ref: https://docs.python.org/3/library/venv.html

作成 / make

python3 -m venv .venv

有効化 / activate

Run this command before execution.

. .venv/bin/activate

Install modules

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

実行 / execute

最適化 / optimize

configuration file: src/config/base.py

python main.py

シミュレーション / simulate

引数にはsrc/config/simulateにあるシミュレーションをするものを指定する. src/config/simulate/12_DE6.py をシミュレーションしたい場合は以下のように実行する.

python simulator.py 12_DE6

out

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •