GithubHelp home page GithubHelp logo

mina-moto / ayniy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from upura/ayniy

0.0 1.0 0.0 242 KB

Ayniy, All You Need is YAML

Home Page: https://upura.github.io/ayniy-docs/

Dockerfile 0.54% Python 98.18% Shell 1.27%

ayniy's Introduction

Ayniy, All You Need is YAML

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()

Examples

Competition Name Score (Rank) Repository
Titanic: Machine Learning from Disaster 0.76555 (-) Link
Basketball Behavior Challenge BBC2020 0.871700 (1) Link
ひろしまQuest2020#stayhome【アイデア部門】 - Link

Environment

docker-compose -d --build
docker exec -it ayniy-test bash

MLflow

cd experiments
mlflow ui

Test

# pytest
pytest tests/ --cov=. --cov-report=html
# black
black . --line-length 99 --exclude="docs"
# flake8
flake8 .
# mypy
mypy .

Docs

In container,

cd docs
make html

Out of container,

sh deploy.sh

https://github.com/upura/ayniy-docs

ayniy's People

Contributors

upura avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.