Python Machine Learning - Code Examples

Chapter 1 - Giving Computers the Ability to Learn from Data

Overview



In [1]:
from IPython.display import Image

Building intelligent machines to transform data into knowledge

...

The three different types of machine learning

In [2]:
Image(filename='./images/01_01.png', width=500) 
Out[2]:



Making predictions about the future with supervised learning

In [3]:
Image(filename='./images/01_02.png', width=500) 
Out[3]:



Classification for predicting class labels

In [4]:
Image(filename='./images/01_03.png', width=300) 
Out[4]:



Regression for predicting continuous outcomes

In [5]:
Image(filename='./images/01_04.png', width=300) 
Out[5]:



Solving interactive problems with reinforcement learning

In [6]:
Image(filename='./images/01_05.png', width=300) 
Out[6]:



Discovering hidden structures with unsupervised learning

...

Finding subgroups with clustering

In [7]:
Image(filename='./images/01_06.png', width=300) 
Out[7]: