Professional Documents
Culture Documents
Chapter4 Machine Learning Part1
Chapter4 Machine Learning Part1
Over 2.5 quintillion bytes of data are created every single day, and it is only
going to grow from there. It is estimated that 1.7MB of data will be created
every second for every person on earth.
3 Why Machine Learning?
4 What is Machine Learning
Define Objective
Weather Forecast
using Machine
Learning
9 Machine Learning Process
´ Kaggle
https://www.kaggle.com/datasets
´ Dbpedia
https://wiki.dbpedia.org/
12 Machine Learning Process
´ Step 7: Predictions
The final outcome is predicted after performing parameter
tuning and improving the accuracy of the model.
17 Types of Machine Learning
Machine Learning
´ In Supervised learning
´ We are given a training set of (X, f(X)) pairs
big nose big teeth big eyes no moustache f(X) = not person
´ In Unsupervised learning
´ We are only given the Xs - not the corresponding f(X)
´ No teacher involved
´ Goal: find regularities among the Xs (clustering)
´ Data mining
23 Note on Data Mining
´ Other names:
´ Unsupervised Machine Learning
´ Clustering
´ Knowledge Discovery
´ Example: predict if a customer is likely to purchase certain
goods according to history of shopping activities.
24 Types of Machine Learning
´ In Reinforcement learning
´ We are not given the (X, f(X)) pairs
Linear Regression
Algorithm
Regression
29 Example 2
KNN Algorithm
Approve Reject
Classification
30 Example 3
K-means Algorithm
Popular Unpopular
Clustering
31 Supervised Learning Algorithms
´ Linear Regression
´ Logistic Regression
´ Naïve Bayes Classifier
´ Decision Tree
´ Random Forest
32 Linear Regression
´ Linear Regression is a method to predict dependent variable (Y)
based on values of independent variables (X). It can be used for the
cases where we want to predict some continuous quantity.
´ Dependent variable (Y)
The response variable whose value needs to be predicted.
´ Independent variable (X)
The predictor variable used to predict the response variable.
´ The following equation is used to represent a linear regression model:
33 Linear Regression
34 Supervised Learning Algorithms
´ Linear Regression
´ Logistic Regression
´ Decision Tree
´ Random Forest
´ Naïve Bayes Classifier
35 Logistic Regression