Skip to content

thomas-enxuli/SGD-Logistic-Regression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gradient Descent and Logistic Model

Getting Started

Installing Python

To use the script, you will need to install Python 3.6.x and add to path:

Installing Dependencies

After cloning the project, go to the root directory:

Install the dependent libraries by typing the following in cmd/terminal:

$ pip install -r requirements.txt

Starting the Script

To run the script, go to the root directory and run python in cmd/terminal and type the following in the python console:

>>> from lg_main import *

Note: ensure that python refers to Python 3.6.x

Running Manual GD & SGD on Logistic Regression Model (Q1)

Type the following in the python console:

>>> run_Q1()

Training Neural Network Model on MNIST_small (Q2)

Type the following in the python console:

>>> run_Q2()

Built With

  • numpy - all variables are numpy arrays

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages