/univariate-linear-regression

Example data science project used in Datacamp's Unit Testing for Data Science in Python course

Primary LanguageJupyter Notebook

Build Status codecov

This repository holds the code for the DataCamp course Unit Testing for Data Science in Python by Dibya Chakravorty.

Please make sure that you have installed the package univariate_linear_regression in this repo using pip before running pytest. Otherwise, you may get ImportErrors.

To install it, first clone the repo.

git clone https://github.com/gutfeeling/univariate-linear-regression.git

Then install the package locally using pip, making sure that you are using Python version >=3.6.

pip install -e univariate_linear_regression

Once the installation finishes, you can run all the tests by doing

cd univariate_linear_regression
pytest --mpl