Logistic Regression Tutorial with Python and Numpy

4.5
stars
136 ratings
Offered By
Coursera Project Network
5,358 already enrolled
In this Guided Tutorial, you will:

Implement Logistic Regression using Python and Numpy.

Apply Logistic Regression to solve binary classification problems.

Clock2 hours
IntermediateIntermediate
CloudNo download needed
VideoSplit-screen video
Comment DotsEnglish
LaptopDesktop only

Welcome to this guided tutorial on Logistic Regression with NumPy and Python. In this tutorial, you will do all the machine learning without using any of the popular machine learning libraries such as scikit-learn and statsmodels. The aim of this tutorial is to implement all the machinery, including gradient descent, cost function, and logistic regression, of the various learning algorithms yourself, so you have a deeper understanding of the fundamentals. By the time you complete this tutorial, you will be able to build a logistic regression model using Python and NumPy, conduct basic exploratory data analysis, and implement gradient descent from scratch. The prerequisites for this tutorial are prior programming experience in Python and a basic understanding of machine learning theory. This tutorial runs on Coursera's hands-on platform called Rhyme. On Rhyme, you do tutorials in a hands-on manner in your browser. You will get instant access to pre-configured cloud desktops containing all of the software and data you need for the tutorial. Everything is already set up directly in your internet browser so you can just focus on learning. For this tutorial, you’ll get instant access to a cloud desktop with Python, Jupyter, NumPy, and Seaborn pre-installed.

Skills you will develop

Deep LearningMachine LearningLogistic RegressionPython ProgrammingNumpy

Learn step-by-step

In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:

  1. Introduction

  2. Hyperparameters

  3. Dataset

  4. A Mini Batch of Examples

  5. Create Model

  6. Forward Pass

  7. Backward Pass

  8. Update Parameters

  9. Check Model Performance

  10. Training Loop

How Guided Tutorials work

Your workspace is a cloud desktop right in your browser, no download required

In a split-screen video, your instructor guides you step-by-step

Reviews

TOP REVIEWS FROM LOGISTIC REGRESSION TUTORIAL WITH PYTHON AND NUMPY

View all reviews

Frequently asked questions

Frequently Asked Questions

More questions? Visit the Learner Help Center.