#!/usr/bin/env python # coding: utf-8 # In[2]: # %load ../../preconfig.py get_ipython().run_line_magic('matplotlib', 'inline') import matplotlib.pyplot as plt import seaborn as sns plt.rcParams['axes.grid'] = False #import numpy as np #import pandas as pd #import itertools import logging logger = logging.getLogger() # 1 Introduction # ======== # #### Example 1: Email Spam # predict whether an email is junk email, or "spam". # # classificaton problem. # # #### Example 2: Prostate Cancer # predict the log of PSA from a number of measurements. # # regression problem. # # #### Example 3: Handwritten Digit Recognition # # classification problem # # #### Example 4: DNA Expression Microarrays # cluster clues. # # unsupervised learning problem.