ML Concepts
ML Concepts
Machine Learning :
2
Yes!!!
3
Definition of ML:
● Machine Learning is a concept which allows the machine to learn from examples
and experience.
● The primary aim is to allow the computers to learn automatically without human
intervention.
Features of ML:
● It is a data-driven technology.
● Machine Learning allows the systems to make decisions autonomously without any
external support.
● Machine is able to learn from the data and understand the underlying patterns that are
contained within it.
5
Need of ML:
● To solve complex problems, which are difficult for a human.
● Big data analysis
● Finding hidden patterns and extracting useful information from data.
● self-driving cars, cyber fraud detection, face recognition.
Classification of ML:
● Supervised Learning
● Unsupervised Learning
● Reinforcement Learning
6
Supervised Learning :
● Train the machine using data which is well "labeled."
Unsupervised Learning :
● Do not need to supervise the model.
Reinforcement Learning
● Reward based learning
● An agent interact with its environment by producing actions and discover errors
or rewards.
Clustering : finding groups of similar entities, similar behavior etc, example : group of
CAT and group of DOG, cluster of boys and cluster of girls…
● 1Rupee
● 1Euro
● 1Deenar
● Unsupervised
Cricket Data
15
Finally
● Reinforcement
16
Learn from feedback ,incorrect feedback, this is not a dog ,please correct next time…
----------------------------------------------------------------
17
Quiz :
18
1.
References :
● https://youtu.be/xtOg44r6dsE
● https://www.geeksforgeeks.org/supervised-unsupervised-learning/
● https://youtu.be/ukzFI9rgwfU
19
Applications of ML
1.Image Recognition :
● Most common applications of machine learning.
● It is used to identify objects, persons, places, digital images, etc.
● The popular use case of image recognition and face detection is, Automatic
friend tagging suggestion:
● Facebook provides a feature of auto friend tagging suggestion. Whenever we
upload a photo with our Facebook friends, then we automatically get a tagging
suggestion with name, and the technology behind this is machine learning's face
detection and recognition algorithm.
● It is based on the Facebook project named "Deep Face," which is responsible for
face recognition and person identification in the picture.
20
2.Speech Recognition :
● While using Google, we get an option of "Search by voice," it comes under speech
recognition
● It is a process of converting voice instructions into text, and it is also known as
"Speech to text", or "Computer speech recognition."
● Google assistant, Siri and Alexa are using speech recognition technology to
follow the voice instructions.
21
3. Traffic Prediction :
● If we want to visit a new place, we take help of Google Maps, which shows us the
correct path with the shortest route and predicts the traffic conditions.
● It predicts the traffic conditions such as whether traffic is cleared, slow-moving,
or heavily congested with the help of two ways:
A) Real Time location of the vehicle form Google Map app and sensors
B) Average time has taken on past days at the same time.
22
● Everyone who is using Google Map is helping this app to make it better. It takes
information from the user and sends back to its database to improve the
performance.
4.Product Recommendations :
● Machine learning is widely used by various e-commerce and entertainment
companies such as Amazon, Netflix, etc.
● Whenever we search for some product on Amazon, then we started getting an
advertisement for the same product …
● As similar, when we use Netflix, we find some recommendations for
entertainment series, movies, etc., and this is also done with the help of machine
learning.
23
● Multi-Layer Perceptron, Decision tree, and Naïve Bayes classifier are used for
email spam filtering and malware detection.
10 : Medical Diagnosis :
● In medical science, machine learning is used for diseases diagnoses.
● With this, medical technology is growing very fast and able to build 3D models.
● It helps in finding brain tumors and other brain-related diseases easily.
26
12 : KUKA:
● German based manufacturer of industrial robot.
● Factory Automation
27
13 : UBER:
28
13 : UBER
13 : Ad Recommendation:
29
● Machine learning has given computer systems the abilities to automatically learn
without being explicitly programmed.
● 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 find a solution to the problem or project.
● Gathering Data
● Data preparation
● Data Wrangling
● Analyse Data
31
Data Gathering is the first step of the machine learning life cycle. The goal of this step is
to identify and obtain all data-related problems.
1.Gathering Data :
● In this step, we need to identify the different data sources
● Data can be collected from various sources such as files, database, internet, or
mobile devices, sensors etc
● It is one of the most important steps of the life cycle.
● The quantity and quality of the collected data will determine the efficiency of the
output.
● The more will be the data, the more accurate will be the prediction.
Independent Variables = ?
● Softskill of student
● Technical knowledge
● Attitude
● Ability to learn new things
● Marks of student
● Aptitude skills
Independent Variables = ?
33
Independent Variables = ?
2. Data Preparation :
● Data preparation is a step where we put our data into a suitable place and
prepare it to use in our machine learning training.
● Example :use of data warehouse, servers
● In this step, first, we put all data together, and then randomize the ordering of
data.
Data exploration:
3. Data Wrangling :
● Data wrangling is the process of cleaning and converting raw data into a useable
format.
● It is the process of cleaning the data, selecting the variable to use, and
transforming the data in a proper format to make it more suitable for analysis in
the next step.
MM /DD/ YY 01/16/2010
● It is not necessary that data we have collected is always of our use as some of
the data may not be useful.
● Missing Values
● Duplicate data
● Invalid data
● Noise
4.Data Analysis :
This step involves:
The aim of this step is to build a machine learning model to analyze the data using
various analytical techniques and review the outcome.
It starts with the determination of the type of the problems, where we select the
machine learning techniques such as Classification, Regression, Cluster analysis,
Association, etc.
● Then build the model using prepared data, and evaluate the model.
● We use datasets to train the model using various machine learning algorithms.
● Training a model is required so that it can understand the various patterns, rules,
and, features.
6. Test Model :
● Once our machine learning model has been trained on a given dataset, then we
test the model.
● In this step, we check for the accuracy of model by providing a test dataset to it.
7. Deployment :
● The last step of machine learning life cycle is deployment,
37
But before deploying the project, we will check whether it is improving its performance
using available data or not. The deployment phase is similar to making the final report
for a project.