8000 GitHub - alexarmstrongvi/scikit-utils: Utilities for scikit learn
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

alexarmstrongvi/scikit-utils

Repository files navigation

scikit-utils

Utilities for scikit learn

Contents

Usage

The main entrypoint is the skutils CLI program

skutils supervised run -i data.csv -o my_outputs/
skutils supervised score -i my_outputs/ -o my_outputs/scores/
skutils supervised visualize -i my_outputs/ -o my_outputs/visualizations/

For the full list of command line options, use the help option

skutils -h
skutils supervised -h
skutils supervised run -h
...

Installation

TODO

Development

PKG_PATH="path/to/scikit-utils"
git clone git@github.com:alexarmstrongvi/scikit-utils.git "$PKG_PATH"
pip install --editable "$PKG_PATH[dev]"

Testing

Manually run tests and checks from within the package dir

# PyTest
cd $PKG_DIR
pytest
# Coverage checker
coverage run -m pytest
coverage report
# Linting and Formatting
flake8
pylint .
isort --check .
# Complexity checker
radon cc . # replace cc with raw, mi, or hal
# Environment tests
tox run-parallel

To followup on a specific file

pytest               path/to/file.py
python -m doctest -v path/to/file.py
coverage report -m   path/to/file.py
flake8               path/to/file.py
pylint               path/to/file.py
isort --check --diff path/to/file.py
radon cc             path/to/file.py

When ready to autoformat the code or run all pre-commit modifications

isort "$PKG_PATH"
pre-commit run --all-files

Documentation

TODO

About

Utilities for scikit learn

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0