Ayniy is a supporting tool for machine learning competitions.
Documentation | Slide (Japanese)
# Import packages
from sklearn.model_selection import StratifiedKFold
import yaml
from ayniy.model.runner import Runner
# Load configs
f = open('configs/run000.yml', 'r+')
configs = yaml.load(f, Loader=yaml.SafeLoader)
# Difine CV strategy as you like
cv = StratifiedKFold(n_splits=5, shuffle=True, random_state=7)
# Modeling
runner = Runner(configs, cv)
runner.run_train_cv()
runner.run_predict_cv()
runner.submission()
docker-compose -d --build
docker exec -it ayniy-test bash
cd experiments
mlflow ui
cd tests
pytest --cov=. --cov-report=html
In container,
cd docs
make html
Out of container,
sh deploy.sh