/LogisticRegression

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Logistic Regression

Motivation

This collection respresents a set codes aiding my learning / recap of logistic regression, from it's derivation to applications. This repo contains codes for the Basics of Logistics Regression, Solving fr Optimal Weights, Practical Logistic Regression Concerns, Using Checkpoints, Simple Applications and a project which conducts Facial Expression Recognition.

These codes are inspired by a course created by the Lazy Programmer. More information can be found at these two links:

https://deeplearningcourses.com/c/data-science-linear-regression-in-python

https://www.udemy.com/course/data-science-linear-regression-in-python

Installation

In order to install the packaged, the user will require the presence of Python3 and the pip3 installer.

For installation on Linux or OSX, use the following commands. This will create an environment and automatically install all the requirements.

python3 -m venv env
source env/bin/activate
pip install -e .

Alternativelly, run the setup.sh file as follows:

./setup.sh

Usage

In order to run the solver, type the following commands int the activated python environment.

python file_name.py

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

BSD 3-Clause License © Andrei Roibu