SergioSJS / divorce-predictor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Divorce Predictor

version 0.1.0 python 3.7.1 | 3.8 | 3.9

This is a Machine Learning project that is to be used on experimentation tracking and data science training. The Divorce Predictors data set is used as a

How to install

To setup this repository locally for testing and implementation please follow this guidelines. This repository is based on Python 3.7.1 or above, Makefile, Poetry, and gsutil. Poetry is extensively used as a virtual environment manager, if you use other virtual environment manager, double check the orientations and commands that will be showing here. After cloning this repository, and having poetry and python 3.7.1 or above installed, run the following command for installing this package for common usage:

make install

Advanced (development)

If your intention is for code development or maintainance, after installing this package apply the command below to install development dependencies and setup pre-commit:

make dev

Other useful command targets available at Makefile are:

poetry run make test-code

The command above will run all unit tests. Notice that I'm using poetry to correctly run inside my development virtual environment.

poetry run make static-analysis

Above command will do an static analysis, checking style with flake8 and computing some code complexity statistics. This will also break if style is wrong or code complexity is too high.

poetry run make coverage

Above command will run all unit tests and check that test coverage is above and specified percentage, defined inside Makefile.

About

License:MIT License


Languages

Language:Python 71.1%Language:Makefile 19.8%Language:Dockerfile 8.4%Language:Shell 0.7%