Lecture 1 Foundations of Machine Learning
Lecture 1 Foundations of Machine Learning
1
1/3/2025
Index 1. Basics of AI
1. Basics of AI • Q1. What is Artificial Intelligence?
2. Machine Learning
3. Example • Intelligence is an inherent part of human brain.
4. Why is ML important?
• When this intelligence is mimic by machines to improve efficiency and
solve complex problems then it is called Artificial Intelligence.
Machine Learning (CSC601B) By: Prof. (Dr.) Vineet Mehan 7 Machine Learning (CSC601B) By: Prof. (Dr.) Vineet Mehan 8
1. Basics of AI 1. Basics of AI
• Cognitive Computing→ Just like humans have senses and brain. Similarly machines are given
• Q2. What are the sub-branches of Artificial Intelligence? artificial senses and brain to interact. E.g. Robot.
• Deep Learning • Machine Learning → Analytical models are made by the machines using data.
• Machine Learning
• Neural Network → Just like human brain have neurons. Similarly machines work with artificial
• Neural Network neurons and learn the task
• Natural Language Processing • Natural Language Processing → Just like humans learn and speak a language. Now we want
machines to do so. E.g. Automatic Translation.
Machine Learning (CSC601B) By: Prof. (Dr.) Vineet Mehan 9 Machine Learning (CSC601B) By: Prof. (Dr.) Vineet Mehan 10
1. Basics of AI 1. Basics of AI
• Q3. What is the Difference between AI and Machine Learning?
Machine Learning (CSC601B) By: Prof. (Dr.) Vineet Mehan 11 Machine Learning (CSC601B) By: Prof. (Dr.) Vineet Mehan 12
2
1/3/2025
1. Basics of AI 1. Basics of AI
• Q5. Where is AI used in daily life?
• Q4. What is the Difference between AI, Machine Learning and Deep
Learning? • Google Assistant → To dial a telephone No, To look for information
• Google Lens → To take data\link from picture and give relevant info.
• AI is the broader term and ML is a part of it. • Alexa(Amazon) → To play a song (Virual Pers. Assistant: Siri(Apple)
• Similarly ML is a broader term and Deep Learning is a part of it.
• OTT Recommendations → Where we see the content as per our previous content viewing.
• Online Shopping Recommendations → Where we see the product as per our previous product
buying.
• Chatgpt→Chatbot
• Google→Gemini
Machine Learning (CSC601B) By: Prof. (Dr.) Vineet Mehan 13 Machine Learning (CSC601B) By: Prof. (Dr.) Vineet Mehan 14
Machine Learning (CSC601B) By: Prof. (Dr.) Vineet Mehan 17 Machine Learning (CSC601B) By: Prof. (Dr.) Vineet Mehan 18
3
1/3/2025
3. Example 3. Example
• Example: Email Spam Detection • Example: Email Spam Detection
• Input: A dataset of emails labelled as "spam" or "not spam. " • The algorithm analyses labelled data to identify patterns. For instance:
• Spam emails often include terms like "Congratulations," "Win," or "Limited Offer.“
• Features: Words in the email (e.g., "free," "offer"), sender
information, frequency of certain keywords, etc. • Non-spam emails might include business-related language.
Machine Learning (CSC601B) By: Prof. (Dr.) Vineet Mehan 19 Machine Learning (CSC601B) By: Prof. (Dr.) Vineet Mehan 20
3. Example 3. Example
• Example: Email Spam Detection • Example: Email Spam Detection
• A supervised learning algorithm (e.g., logistic regression, decision • When a new email arrives, the trained model evaluates its features
tree) learns from the training data to associate email features with and predicts whether it is spam or not based on learned patterns.
labels (spam/not spam).
Machine Learning (CSC601B) By: Prof. (Dr.) Vineet Mehan 21 Machine Learning (CSC601B) By: Prof. (Dr.) Vineet Mehan 22
3. Example 3. Example
• Example: Email Spam Detection • Example: Email Spam Detection
Machine Learning (CSC601B) By: Prof. (Dr.) Vineet Mehan 23 Machine Learning (CSC601B) By: Prof. (Dr.) Vineet Mehan 24
4
1/3/2025
Machine Learning (CSC601B) By: Prof. (Dr.) Vineet Mehan 25 Machine Learning (CSC601B) By: Prof. (Dr.) Vineet Mehan 26
• ML models derive insights and patterns from vast amounts of data, • ML systems can handle and analyze massive datasets that are beyond
leading to better decision-making. human capabilities.
• Example: Businesses use ML for personalized marketing and demand • Example: Social media platforms use ML to moderate billions of posts
forecasting. and detect harmful content.
Machine Learning (CSC601B) By: Prof. (Dr.) Vineet Mehan 27 Machine Learning (CSC601B) By: Prof. (Dr.) Vineet Mehan 28
• ML models improve their performance over time as they are exposed • ML is applicable in various industries, solving unique problems:
to more data and feedback.
• Healthcare: Disease diagnosis and drug discovery.
• Example: Email spam filters get better at detecting spam as they
process more emails. • Finance: Fraud detection and stock market predictions.
Machine Learning (CSC601B) By: Prof. (Dr.) Vineet Mehan 29 Machine Learning (CSC601B) By: Prof. (Dr.) Vineet Mehan 30
5
1/3/2025
• ML drives cutting-edge innovations in fields like robotics, natural • Automating repetitive tasks reduces operational costs and accelerates
language processing, and computer vision. processes.
• Example: AI assistants like Siri or Alexa use ML for voice recognition • Example: Chatbots handle customer queries without human
and natural language understanding. intervention.
Machine Learning (CSC601B) By: Prof. (Dr.) Vineet Mehan 31 Machine Learning (CSC601B) By: Prof. (Dr.) Vineet Mehan 32
• ML can uncover patterns and solutions that are impossible\v. difficult • Question 1: What is the relationship between Artificial Intelligence
for humans to identify. (AI) and Machine Learning (ML)? Explain how ML fits within the
broader field of AI. (10 marks)
• Example: ML algorithms analyze astronomical data to discover new
planets.
Machine Learning (CSC601B) By: Prof. (Dr.) Vineet Mehan 33 Machine Learning (CSC601B) By: Prof. (Dr.) Vineet Mehan 34
Task REFERENCES
• 2. Example and Importance of ML • ChatGPT
• YouTube
Machine Learning (CSC601B) By: Prof. (Dr.) Vineet Mehan 35 Machine Learning (CSC601B) 36
6
1/3/2025
THANK YOU