Chapter 9 - Introduction To Machine Learning
Chapter 9 - Introduction To Machine Learning
1
Jamhuriya University of Science & Technology (JUST)
Topics
• Types of ML
• Lecture Tutorial
2
Jamhuriya University of Science & Technology (JUST)
Introduction to Machine Learning
What do you know about Machine Learning?
Discussion……………..
3
Jamhuriya University of Science & Technology (JUST)
Introduction to Machine Learning
Machine learning is a tool that allows systems the ability to learn and improve automatically based upon
experience. Machine learning does not need specific programming to carry out an activity. Machine learning is
the development of computer programs that can access data, and through a series of algorithms use the data to
learn for itself what action should be taken based on that data.
The primary objective of machine learning is to allow the system to learn automatically without human intervention.
This allows the system to adjust and take action accordingly. The learning process begins with the system observing
reference data and experiences based on that data. The system then begins to understand and learn what actions to
4
Jamhuriya University of Science & Technology (JUST)
Introduction to Machine Learning
Field of Machine learning in Data Science
5
Jamhuriya University of Science & Technology (JUST)
Introduction to Machine Learning
6
Jamhuriya University of Science & Technology (JUST)
Why Machine Learning?
It gives enterprises a view of trends in customer behavior and business operational patterns, as well as supports the
development of new products. Many of today's leading companies, such as Facebook, Google and Uber, make machine
learning a central part of their operations. Machine learning has become a significant competitive differentiator for
many companies
7
Jamhuriya University of Science & Technology (JUST)
Why Machine Learning?
8
Jamhuriya University of Science & Technology (JUST)
Why Machine Learning?
9
Jamhuriya University of Science & Technology (JUST)
But how does a machine learning system work? So, it can be described using the life cycle of machine learning. Machine
learning life cycle is a cyclic process to build an efficient machine learning project. The main purpose of the life cycle is to
10
Jamhuriya University of Science & Technology (JUST)
11
Jamhuriya University of Science & Technology (JUST)
2. Data preparation: It is a step where we put our data into a suitable place and prepare it to use in our machine learning
training(including Data exploration).
3. Data Wrangling: It is the process of cleaning and converting raw data into a useable format(Missing Values, Duplicate data
Invalid data &Noise).
4. Data Analysis: After the cleaned and prepared data is passed on to the analysis step(Selection of analytical techniques,
Building models, Review the result)
12
Jamhuriya University of Science & Technology (JUST)
6. Test Model: Testing the model determines the percentage accuracy of the model as per the requirement of project or
problem.
7. Deployment: The last step of machine learning life cycle is deployment, where we deploy the model in the real-world system.
13
Jamhuriya University of Science & Technology (JUST)
Machine learning involves showing a large volume of data to a machine so that it can learn and make predictions, find
patterns, or classify data. The three machine learning types are supervised, unsupervised, and reinforcement learning.
1. Supervised Learning: uses a training set to teach models to yield the desired output.
2. Unsupervised Learning: uses machine learning algorithms to analyze and cluster unlabeled datasets.
3. Reinforcement Learning: an area of Machine Learning. It is about taking suitable action to maximize reward in a particular
situation
14
Jamhuriya University of Science & Technology (JUST)
15
Jamhuriya University of Science & Technology (JUST)
16
Jamhuriya University of Science & Technology (JUST)
17
Jamhuriya University of Science & Technology (JUST)
• The UCI Machine Learning Repository has been a go-to resource for open datasets for decades. Users can also
access the information without registering.
• Dataset Search on Google: Dataset Search has over 25 million datasets from across the internet.
18
Jamhuriya University of Science & Technology (JUST)
https://www.kaggle.com/
19
Jamhuriya University of Science & Technology (JUST)
20
Jamhuriya University of Science & Technology (JUST)
21
Jamhuriya University of Science & Technology (JUST)
22
Jamhuriya University of Science & Technology (JUST)
advertising cost incurred by the business on various advertising platforms. Below is the description of
23
Jamhuriya University of Science & Technology (JUST)
24
Jamhuriya University of Science & Technology (JUST)
Dataset contains
almost 200 records
and 4 variables
25
Jamhuriya University of Science & Technology (JUST)
There are no
duplicate values
in this dataset.
There are no
missing values
in this dataset.
26
Jamhuriya University of Science & Technology (JUST)
27
Jamhuriya University of Science & Technology (JUST)
As the visibility of
sales is increasing
according to
Newspaper
28
Jamhuriya University of Science & Technology (JUST)
29
Jamhuriya University of Science & Technology (JUST)
30
Jamhuriya University of Science & Technology (JUST)
31