Machine Learning Models

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 14

CS446: Machine Learning

Lecture 09_B (Machine Learning Models)


Instructor:
Dr. Muhammad Kabir
Assistant Professor
muhammad.kabir@umt.edu.pk

School of Systems and Technology


Department of Computer Science
University of Management and Technology, Lahore
Previous Lectures
 Learning Agents
 Human Learning Vs. Machine Learning
 Traditional Programming Vs. Machine Learning
 Capabilities of AI and ML
 Machine Learning Typical framework
 Data Types
 Google Colaboratory (Google Colab)
 Python Libraries for Machine Learning
 Handling missing values and data standardization
 Working with Kaggle API
Today’s Lectures
 Label Encoding
 Understanding and Implementing Train Test Split
 Machine Learning Process
 How Machine Learning works?
 What is Learning?
 Understanding Curve fitting in Machine Learning
 Complex Model need?
Machine Learning Process….
How Machine Learning Works….
What is meant by learning?
• Writing algorithms that can learn patterns from data.
• The algorithms create a statistical model that is a good approximation of the
data.

Data from Past Calculating a model Estimating the output


Experiences for new input values
Machine Learning Models….

X 1 2 3 4 5
Y 5 7 9 11 13
Machine Learning Models….

X 1 2 3 4 5
Y 5 7 9 11 13
Machine Learning Models….

X 1 2 3 4 5
Y 5 7 9 11 13
Machine Learning Models….
Machine Learning Models….

 A Machine Learning model is a function that tries to find


the relationship between the features and the target
variable.
 It tries to find the pattern in the data, understand the data
and train on the data.
 Based on the learning, an ML model makes predictions
and recognize the patterns.
Machine Learning Models….

It is not important to have a linear relationship between the


variables all the time.
We need some complex models then – Simple line/curve
fitting doesn’t work well.
Machine Learning Models….

It is not important to have a linear relationship between the


variables all the time.
We need some complex models then – Simple line/curve
fitting doesn’t work well.
Chapter Reading

Chapter 1
Machine Learning - A Probabilistic Perspective
by
Kevin P. Murphy

You might also like