Coder Social home page Coder Social logo

zhenye-na / coursera-ml Goto Github PK

View Code? Open in Web Editor NEW
17.0 3.0 13.0 32.77 MB

💡This repository contains all of the lecture exercises of Machine Learning course by Andrew Ng, Stanford University @ Coursera. All are implemented by myself and in MATLAB/Octave.

MATLAB 100.00%
coursera machine-learning deep-learning deep-neural-networks support-vector-machines linear-regression logistic-regression decision-trees anomaly-detection principal-component-analysis

coursera-ml's Introduction

Programming assignments of Coursera Machine Learning course by Andrew Ng

About this Course

Machine learning is the science of getting computers to act without being explicitly programmed. In the past decade, machine learning has given us self-driving cars, practical speech recognition, effective web search, and a vastly improved understanding of the human genome. Machine learning is so pervasive today that you probably use it dozens of times a day without knowing it. Many researchers also think it is the best way to make progress towards human-level AI. In this class, you will learn about the most effective machine learning techniques, and gain practice implementing them and getting them to work for yourself. More importantly, you'll learn about not only the theoretical underpinnings of learning, but also gain the practical know-how needed to quickly and powerfully apply these techniques to new problems. Finally, you'll learn about some of Silicon Valley's best practices in innovation as it pertains to machine learning and AI.

This course provides a broad introduction to machine learning, datamining, and statistical pattern recognition. Topics include:

  1. Supervised learning (parametric/non-parametric algorithms, support vector machines, kernels, neural networks).
  2. Unsupervised learning (clustering, dimensionality reduction, recommender systems, deep learning).
  3. Best practices in machine learning (bias/variance theory; innovation process in machine learning and AI).

The course will also draw from numerous case studies and applications, so that you'll also learn how to apply learning algorithms to building smart robots (perception, control), text understanding (web search, anti-spam), computer vision, medical informatics, audio, database mining, and other areas.

coursera-ml's People

Contributors

imgbotapp avatar zhenye-na avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

coursera-ml's Issues

vectorize

If you vectorize cost and backprop, 50 epochs takes 2.4 seconds instead of 150 seconds.

Vectorized cost: replace this loop with

yy = zeros(size(y,1),num_labels);
yy(sub2ind(size(yy),1:length(y),y'))=1;
J = sum(sum(- yy .* log(a3) - (1 - yy) .* log(1 - a3)))/m;

Vectorized backprop: replace this loop with

d3 = a3 - yy;
d2 = (d3 * Theta2) .* [ones(m, 1) sigmoidGradient(z2)];
d2 = d2(:,2:end);
Theta1_grad = d2' * a1;
Theta2_grad = d3' * a2;

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.