Lesson_2_Introduction_to_Machine_Learning
Lesson_2_Introduction_to_Machine_Learning
To address this, ABC Inc. will use machine learning algorithms to detect real-time
fraudulent transactions. These algorithms will be integrated into ABC Inc.'s
existing transaction processing system to flag suspicious transactions and
prevent fraud.
It is a subset of artificial intelligence (AI) that assists systems to learn and improve automatically from
experience without being explicitly programmed.
Uses predefined rules and algorithms explicitly Learns from data to make predictions or take
programmed by human developers actions without being explicitly programmed
Relies on explicitly defined logic and rules to Uses statistical techniques and optimization
perform tasks algorithms to learn patterns and make decisions
Machine learning (ML), deep learning (DL), and artificial intelligence (AI) are often used interchangeably.
In a chess game between a computer and a person, the computer uses AI to analyze the game, predict
moves, and decide its actions.
The AI decides its next move against the opponent using a complex
neural network that learns various features and patterns from the
data.
Applications of Machine Learning
There are many applications for machine learning, including the following:
Spam
filtering
These processes allow computers to learn patterns from data and make predictions on their own.
The quality and quantity of the provided data evaluate the algorithm's performance.
Source: https://academic.oup.com/nsr/article/10/7/nwad125/7147579
Types of Machine Learning
Types of Machine Learning
ML can be divided into four main categories; each characterized by its capacity to predict conditions or
identify patterns to produce outcomes.
Supervised Learning
A supervised learning method uses labeled data to predict outcomes guided by specific
input-output pairs.
It allows models to identify patterns and structures in unlabeled data without explicit guidance.
Some examples are:
The unlabeled dataset is provided to an unsupervised learning algorithm to discover hidden patterns
and recognize their relationship.
Unsupervised Learning: Example
It automatically groups images into distinct categories based on similarities, such as age group or
gender, without any prior labels.
Semi-Supervised Learning
It uses a combination of a small amount of labeled data and a large amount of unlabeled
data for training.
This dataset contains both labeled and unlabeled data. Hence, semi-supervised learning is applied.
Semi-Supervised Learning: Example
In various instances, uploaders label images. Despite Google's lack of knowledge regarding image names,
its algorithm can identify them by analyzing visual features like shapes and colors.
Reinforcement Learning
Reinforcement learning is a type of machine learning where algorithms learn from the environment by
performing actions and receiving either rewards or penalties as feedback.
If the program finds the correct solution, the interpreter rewards the algorithm.
It involves an agent interacting with an environment, learning from rewards and states, to choose the
best actions and improve performance over time.
Reinforcement Learning: Example
This type of learning is best seen in YouTube recommendations, where a user searches for a particular
song, and the program shows the list of available songs.
When the user selects a specific song, the system trains itself to remember and deliver a similar result
for future searches based on user interactions, such as likes, views and shares.
Reinforcement Learning: Examples
Search recommendation
Autocorrect tools
engines
Introduction to Python Packages for Machine Learning
Python Libraries Used in Machine Learning
Python packages are folders with modules that organize code for
easy reuse and maintenance, improving development efficiency.
Knowledge Check
Knowledge
Check
Which of the following best describes machine learning?
1
A. A subset of artificial intelligence (AI) that assists systems to learn and improve automatically
from experience without being explicitly programmed.
B. A method of programming where developers manually define a set of rules and instructions.
C. The process of creating a set of fixed logic that a program will follow.
A. A subset of artificial intelligence (AI) that assists systems to learn and improve automatically
from experience without being explicitly programmed.
B. A method of programming where developers manually define a set of rules and instructions.
C. The process of creating a set of fixed logic that a program will follow.
Machine learning is a subset of AI that enables systems to learn and improve automatically from
experience without explicit programming.
Knowledge
Check Which example illustrates the use of machine learning to enhance customer
2 experience in an e-commerce company?
C. ABC Inc. using machine learning algorithms to detect real-time fraudulent transactions and
predict customer behavior.
C. ABC Inc. using machine learning algorithms to detect real-time fraudulent transactions and
predict customer behavior.
ABC Inc. uses machine learning to detect fraudulent transactions in real-time and predict customer
behavior to enhance the recommendation engine and customer experience.
Knowledge
Check What distinguishes deep learning (DL) from machine learning (ML) and artificial
3 intelligence (AI)?
B. Deep Learning uses neural networks with multiple layers for complex pattern recognition.
B. Deep Learning uses neural networks with multiple layers for complex pattern recognition.
Deep learning is a subset of ML that uses neural networks with multiple layers for complex pattern
recognition, such as recognizing patterns in images, speech, and text.
Thank You