Please install the following packages:
$ pip install numpy
$ pip install pytest
$ pip install pylint
$ pip install black
or install them with a single line:
$ pip install -r requirements.txt
A simple linear model can be defined as follows:
Given
where
An example is located in src/linear_regression_bad_style.py
.
- Rename variables.
- Make code simple.
- Add assertions.
- Run
pylint
. - Run
black
. - Add unit tests.
Run sphinx-build -M html . .
in the docs
directory.