Coursera Ml Py

Python programming assignments for Machine Learning by Prof. Andrew Ng in Coursera
Alternatives To Coursera Ml Py
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage Summary4,881
8 months ago13mitPython
This repository contains my personal notes and summaries on specialization courses. I've enjoyed every little bit of the course hope you enjoy my notes too.
Start Machine Learning3,875
21 days agomit
A complete guide to start and improve in machine learning (ML), artificial intelligence (AI) in 2023 without ANY background in the field and stay up-to-date with the latest news and state-of-the-art techniques!
Coursera Deep Learning Specialization2,034
5 months ago15Jupyter Notebook
Notes, programming assignments and quizzes from all courses within the Coursera Deep Learning specialization offered by (i) Neural Networks and Deep Learning; (ii) Improving Deep Neural Networks: Hyperparameter tuning, Regularization and Optimization; (iii) Structuring Machine Learning Projects; (iv) Convolutional Neural Networks; (v) Sequence Models
Machine Learning Specialization Coursera1,859
a month ago14mitJupyter Notebook
Contains Solutions and Notes for the Machine Learning Specialization By Stanford University and - Coursera (2022) by Prof. Andrew NG
Andrew Ng Notes1,367
a year ago2Jupyter Notebook
This is Andrew NG Coursera Handwritten Notes.
Machine Learning Curriculum1,063
2 months agomit
:computer: Learn to make machines learn so that you don't have to struggle to program them; The ultimate list
Coursera Ml Py1,032
3 years agomitPython
Python programming assignments for Machine Learning by Prof. Andrew Ng in Coursera
Andrew Ng Deep Learning Notes862
2 years ago2Jupyter Notebook
吴恩达《深度学习》系列课程笔记及代码 | Notes in Chinese for Andrew Ng Deep Learning Course Natural Language Processing Specialization523
2 years agogpl-3.0Jupyter Notebook
This repository contains my full work and notes on Coursera's NLP Specialization (Natural Language Processing) taught by the instructor Younes Bensouda Mourri and Łukasz Kaiser offered by
Deep Learning Specialization Coursera266
4 months agoapache-2.0Jupyter Notebook
This repo contains the updated version of all the assignments/labs (done by me) of Deep Learning Specialization on Coursera by Andrew Ng. It includes building various deep learning models from scratch and implementing them for object detection, facial recognition, autonomous driving, neural machine translation, trigger word detection, etc.
Alternatives To Coursera Ml Py
Select To Compare

Alternative Project Comparisons

Coursera Machine Learning Assignments in Python

author python license contribution



If you've finished the amazing introductory Machine Learning on Coursera by Prof. Andrew Ng, you probably got familiar with Octave/Matlab programming. With this repo, you can re-implement them in Python, step-by-step, visually checking your work along the way, just as the course assignments.

How to start


This project was coded in Python 3.6

  • numpy
  • matplotlib
  • scipy
  • scikit-learn
  • scikit-image
  • nltk


The fastest and easiest way to install all these dependencies at once is to use Anaconda.

Important Note

There are a couple of things to keep in mind before starting.

  • all column vectors from octave/matlab are flattened into a simple 1-dimensional ndarray. (e.g., y's and thetas are no longer m x 1 matrix, just a 1-d ndarray with m elements.) So in Octave/Matlab,
    >> size(theta)
    >> (2, 1)
    Now, it is
    >>> theta.shape
    >>> (2, )
  • numpy.matrix is never used, just plain ol' numpy.ndarray


Exercise 1

  • Linear Regression
  • Linear Regression with multiple variables

Exercise 2

  • Logistic Regression
  • Logistic Regression with Regularization

Exercise 3

  • Multiclass Classification
  • Neural Networks Prediction fuction

Exercise 4

  • Neural Networks Learning

Exercise 5

  • Regularized Linear Regression
  • Bias vs. Variance

Exercise 6

  • Support Vector Machines
  • Spam email Classifier

Exercise 7

  • K-means Clustering
  • Principal Component Analysis

Exercise 8

  • Anomaly Detection
  • Recommender Systems


You can check out my implementation of the assignments here. I tried to vectorize all the solutions.

Popular Coursera Projects
Popular Neural Network Projects
Popular Learning Resources Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Neural Network
Logistic Regression
Anomaly Detection