Introduction to Machine Learning

Machine learning is the science of getting computers the ability to learn, without being explicitly programmed.

We’ve probably used a learning algorithm dozens of times a day without knowing it.

Machine Learning

Examples:

Machine Learning Definition

Even among machine learning practitioners there isn’t a well accepted definition of what is and what isn’t machine learning.

But here are some people who have tried to define it:

Samuel’s claim to fame was that back in the 1950’s, he wrote a checkers playing program. And the amazing thing about this checkers playing program, was that Arthur Samuel himself, wasn’t a very good checkers player. But what he did was, he had to program for it to play 10’s of 1000’s of games against itself. And by watching what sorts of board positions tended to lead to wins, and what sort of board positions tended to lead to losses. The checkers playing program learns over time what are good board positions and what are bad board positions. And eventually learn to play checkers better than Arthur Samuel himself was able to. This was a remarkable result. Although Samuel himself turned out not to be a very good checkers player. But because the computer has the patience to play tens of thousands of games itself. No human, has the patience to play that many games. By doing this the computer was able to get so much checkers-playing experience that it eventually became a better checkers player than Arthur Samuel himself.

Example: playing checkers.

E = the experience of playing many games of checkers

T = the task of playing checkers.

P = the probability that the program will win the next game.

Note:

Machine learning algorithms

Others:


Supervised Learning Algorithm

Regression Problems

Example:

Given data about the size of houses on the real estate market, try to predict their price.

Price as a function of size is a continuous output, so this is a regression problem.

Classification Problems

Example:

Given a patient with a tumor and its sizes, we have to predict whether the tumor is malignant or benign.

Notes:


Practice Problem:


Other Examples:

(a) Regression - Given a picture of a person, we have to predict their age on the basis of the given picture

(b) Classification - Given a patient with a tumor, we have to predict whether the tumor is malignant or benign.


Unsupervised Learning Algorithm


Clustering Problems


Non-Clustering Problems

Example Problem:



← Previous: Setup and Resources

Next: Linear Regression with One Variable →