Skip to content

Latest commit

 

History

History
 
 

week9

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Machine Learning and Neural Networks

Video Tutorials

p5.js examples

ml5 library

What is a "Machine Learning"? (From Andrew Ng's Coursera Course)

  • "Field of study that gives computers the ability to learn without being explicitly programmed." -- Arthur Samuels (1959). Self-learning and checkers.
  • "A computer program is said to learn from experience E with respect to some class of tasks T and performance measure P, if its performance at tasks in T, as measured by P, improves with experience E." -- Tom Mitchell (1998): Maching Learning book.
    • Example: classifying images of dogs and cats.
      • E = Watching you classify images as dogs or cats.
      • T = Classifying images as dogs or cats.
      • P = The % of images correctly classified.

Supervised Learning

In supervised learning, we are given a data set and already know what our correct output should look like, having the idea that there is a relationship between the input and the output. -- Andrew Ng Supervised Learning is a strategy that involves a "teacher" that trains the learning system. For example, consider facial recognition. The "teacher" shows the network a bunch of faces (the teacher already knows the names associated with each face). The learning system makes its guesses and the teacher provides the answers. The learning system can then compare its answers to the known “correct” ones and make adjustments according to its errors. -- Nature of Code Chapter 10:

Classification and Regression

  • Classification and regression both involve making a "prediction" based on input data.
  • Classification refers to predicting an output with a discrete set of possibilities like a set of categories or labels. For example: "Given an input image, is it a dog or cat?"
  • Regression refers to predicting an "continuous" output (a fancy way of saying number). For example: "Given the number of bedrooms, what is the price of a house?" or "Given an input image of a cat, how much does the cat weigh?"

Neural Networks

History

This short list thanks to Andrey Kurenkov's excellent 'Brief' History of Neural Nets and Deep Learning

Online Reading

Additional Reading

Additional Processing examples

Python examples

Homework