Code Monkey home page Code Monkey logo

stanford-cs-229-machine-learning's Introduction

Machine Learning cheatsheets for Stanford's CS 229

Available in العربية - English - Español - فارسی - Français - 한국어 - Português - Türkçe - Tiếng Việt - 简中 - 繁中

Goal

This repository aims at summing up in the same place all the important notions that are covered in Stanford's CS 229 Machine Learning course, and include:

  • Refreshers in related topics that highlight the key points of the prerequisites of the course.
  • Cheatsheets for each machine learning field, as well as another dedicated to tips and tricks to have in mind when training a model.
  • All elements of the above combined in an ultimate compilation of concepts, to have with you at all times!

Content

VIP Cheatsheets

Illustration Illustration Illustration Illustration
Supervised Learning Unsupervised Learning Deep Learning Tips and tricks

VIP Refreshers

Illustration Illustration
Probabilities and Statistics Algebra and Calculus

Super VIP Cheatsheet

Illustration
All the above gathered in one place

Website

This material is also available on a dedicated website, so that you can enjoy reading it from any device.

Translation

Would you like to see these cheatsheets in your native language? You can help us translating them on this dedicated repo!

Authors

Afshine Amidi (Ecole Centrale Paris, MIT) and Shervine Amidi (Ecole Centrale Paris, Stanford University)

stanford-cs-229-machine-learning's People

Contributors

afshinea avatar shervinea avatar

Stargazers

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

Watchers

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

stanford-cs-229-machine-learning's Issues

Logistic vs cross-entropy

I don't think it makes sense to plot different functions for logistic loss and cross-entropy loss as they are essentially two names for the same thing. Sometimes these names are used to differentiate between an overparametrized (softmax) version vs a non-overparametrized version but that's independent of the loss used. In particular the two formulas that are shown are equivalent (one assumed y is +1, -1 the other assumes y is 0, 1). Showing different graphs for the same formula seems confusing.

Math notation

I appreciate your work, however there are some major drawbacks. Notation is not clear. You did not explain the mathematical notation ( like %99 of the teachers ) in your cheat sheets, it looks like a textbook therefore they are not useful for the beginners. It is possible that a beginner does not heard anything about transpose of a matrix, gradient, Laplacian, or even what conditional probability is. At least you should note the requirements for the learners.

Thanks

Linear dependence

In refreshers, "linearly dependence" should be corrected to "linear dependence"

Matrix-matrix multiplication

The following:

"Matrix-matrix multiplication – The product of matrices A ∈ Rm×n and B ∈ Rn×p is a
matrix of size Rn×p"

Should say:

"Matrix-matrix multiplication – The product of matrices A ∈ Rm×n and B ∈ Rn×p is a
matrix of size Rm×p"

real data z

the first page, prediction value is y, real data should be z

One note on the definition of Determinant

In the definition of Determinant in the VIP Refresher on Linear Algebra and Calculus, it would be much clearer if you add a short expression such as: for a fixed i

Chinese version

i think your cheatsheets is very useful and want translate your cheatsheets to Chinese. is it ok?

Error in Linear Algebra Matrix Vector multiplication

First, thanks for these resources!

In VIP Refresher: Linear Algebra and Calculus, it says

Matrix-vector multiplication – The product of matrix A \in R^{m×n} and vector x \in R^{n} is a vector of size R^n, such that:

Shouldn't it be instead:

of size R^m, such that:

The same for Matrix-Matrix multiplication.

state s, not state a

Remark: we say that we execute a given policy π if given a state a we take the action a =π(s).

Can you share the latex template

Really cool cheatsheets, I presume you have done using LaTex.

Do you mind sharing LaTex template? It would be great. Thank you

Hessian definition makes unstated assumptions

Hi!

Thanks for putting together this helpful refresher on linear algebra and calculus (link for context)! At the risk of being overly pedantic, I noticed that your definition of the Hessian says:

The hessian of f with respect to x is a n×n symmetric matrix

This is true if f has continuous second partial derivatives, but is not guaranteed in general. (Source)

What tools are used to make it?

Can you tell me what tool was used to create the cheatsheets? I really like the style and would like to use the tool for my lectures. Thanks in advance.

Format for priting

I wanted to print the Super VIP Cheatsheet to read and make annotations.
Can you provide the pdf in a more printer-friendly format?
Thanks

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.