Mirobody
인간 건강의 표준 레지스트리, 약 2천 개 임상·생활 지표를 하나의 언어로 정리
저장소 정보는 아직 수집하지 않았습니다.
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
메이커가 쓴 소개는 위의 한 줄이 전부입니다. 더 자세한 내용은 저장소 README에서 읽을 수 있습니다. 저장소 README ↗
README 전체를 불러오는 중입니다.
README 전문 보기 ↗For a full guide on how to use this package, please see the documentation at https://resplab.github.io/leap/.
GitHub:git clone https://github.com/resplab/leap
cd leap
python -m venv env
source env/bin/activate
pip and the -e flag, which makes the package editable:pip install -e .
The default simulation configuration options are found in the LEAP/processed_data/config.json
file.
To run the LEAP model from the command line, using the default settings:
leap --run-simulation --path-output PATH/TO/OUTPUT/FOLDER
To run the simulation for 1 year, starting in 2024, with the maximum age of 4,
and 10 new borns in the first year:
leap --run-simulation --time-horizon 1 --num-births-initial 10 --max-age 4 --min-year 2024 \
--path-output PATH/TO/OUTPUT/FOLDER
To specify the province and population growth scenario:
leap --run-simulation --time-horizon 1 --num-births-initial 10 --max-age 4 --province "CA" \
--min-year 2024 --projection-scenario "M3" --path-output PATH/TO/OUTPUT/FOLDER
If you would like to use your own config.json file instead of the default one:
leap --run-simulation --config PATH/TO/YOUR/CONFIG.json --path-output PATH/TO/OUTPUT/FOLDER
To run all the tests:
cd leap
pytest tests/
To run a single test file:
cd leap
pytest tests/test_name.py
To run doctests:
cd leap
pytest leap/ --doctest-modules
GitHub doesn't allow for private pages via GitHub Pages unless you're using
GitHub Enterprise. To view the documentation locally instead:
cd leap/docs
make clean
make html
Now go to leap/docs/_build/html/index.html, and open that file in your browser. You should
now be able to navigate through the documentation webpages.