This is my implementation for Logistic regression for a classification task, dropout during training is also included. Dataset used in training and evaluation is breast cancer dataset.
The model training is done using SGD (stochastic gradient descent).
You can check the derivation of derivative for weight in doc.pdf
.
Run the following command to install dependencies:
pip install -r requirements.txt
The complete code is in run_sgd.py
:
python run_sgd.py