Module 1:
Introduction to AI, ML & Python
Duration: 1 Week
Topics
• Introduction to Artificial Intelligence
• Difference between AI, ML, and Deep Learning
• Applications of AI in industries
• Introduction to Python Programming
• Installing Python & Jupyter Notebook
• Variables, Data Types, Operators
• Conditional Statements and Loops
• Functions and Modules
Practicals
• Python calculator
• Number guessing game
• Student marks management system
Learning Outcomes
Students will:
• Understand AI/ML basics
• Write simple Python programs
• Use Jupyter Notebook
Module 1:
Introduction to Artificial Intelligence (AI)
1.1 What is Artificial Intelligence?
Artificial Intelligence (AI) is a branch of computer science that focuses on creating machines
and software capable of performing tasks that normally require human intelligence.
Definition
AI is the simulation of human intelligence in machines that are programmed to think, learn,
reason, and make decisions.
Characteristics of AI
• Learning from experience
• Problem-solving
• Decision-making
• Pattern recognition
• Natural language understanding
• Vision and image recognition
Example
• Voice assistants like Siri and Google Assistant
• Self-driving cars
• Chatbots
• Face recognition systems
Real-Life Scenario
When you unlock your smartphone using Face ID, AI identifies your face by comparing it
with stored facial patterns.
1.2 Types of Artificial Intelligence
Type of AI Description Characteristics Examples Current Status
- Amazon Alexa
AI designed to - Task-specific- - Google Maps
Widely used and
Narrow AI perform a specific Cannot perform beyond its - Netflix
commercially
(Weak AI) task or a limited set programmed function- Most Recommendation
available
of tasks. common type of AI today System
- Chatbots
- Human
AI that can
-like intelligence
understand, learn,
General AI - Can reason and solve diverse No real-world Still under research
and perform any
(Strong AI) problems examples yet and development
intellectual task that
- Learns and adapts across
a human can do.
different domains
AI that surpasses
human intelligence - More intelligent than humans
Does not currently
in all aspects, - Self-aware and autonomous Theoretical
Super AI exist; hypothetical
including creativity, - Can outperform humans in concept only
future AI
decision-making, every field
and problem-solving.
1.3 Components of AI
1. Machine Learning (ML)
Allows machines to learn from data.
2. Deep Learning (DL)
Uses neural networks with multiple layers.
3. Natural Language Processing (NLP)
Enables computers to understand human language.
4. Computer Vision
Allows machines to interpret visual information.
5. Robotics
Combines AI with mechanical systems.
Difference Between AI, ML, and Deep
Learning
Relationship
Artificial Intelligence
|
|---- Machine Learning
|
|---- Deep Learning
Comparison Table
Machine
Feature AI Deep Learning
Learning
Making machines Learning from Learning using neural
Definition
intelligent data networks
Data Requirement Moderate High Very High
Human Intervention High Moderate Low
Complexity Low to High Medium High
Hardware
Moderate Moderate High (GPU)
Requirement
Example Chatbots Spam Detection Face Recognition
AI Example
Rule-Based System
IF temperature > 40
THEN turn ON fan
The machine follows predefined rules.
Machine Learning Example
Email spam filtering learns from previous emails.
Input → Training Data
↓
Learning
↓
Prediction
Deep Learning Example
Face Recognition System
Image
↓
Neural Network
↓
Recognized Face
Deep Learning automatically extracts features from images.
Applications of AI in Industries
Domain Applications Example
• Disease Diagnosis • Medical AI can detect cancer from X-ray and
Healthcare Image Analysis • Drug Discovery • MRI images faster and more
Virtual Health Assistants accurately than traditional methods.
Educational apps recommend lessons
• Personalized Learning • Smart
and practice exercises based on a
Education Tutoring Systems • Automatic
student's performance and learning
Grading
pace.
Banks use AI to identify suspicious
Banking and • Fraud Detection • Credit Scoring
transactions and prevent financial
Finance • Algorithmic Trading
fraud.
Robots automatically assemble cars
• Predictive Maintenance • Quality
Manufacturing and inspect products for defects in
Control • Industrial Robots
manufacturing plants.
Navigation systems like Google
• Self-Driving Vehicles • Traffic
Transportation Maps suggest the fastest route based
Prediction • Route Optimization
on real-time traffic conditions.
Drones and AI systems monitor crop
• Crop Monitoring • Disease
Agriculture health and identify diseases at an
Detection • Smart Irrigation
early stage.
Online shopping platforms
• Product Recommendations •
recommend products based on
E-Commerce Chatbots • Customer Behavior
customer browsing and purchase
Analysis
history.
Streaming platforms recommend
• Movie Recommendations • Music
movies, TV shows, and music based
Entertainment Suggestions • Video Content
on user preferences and viewing
Analysis
history.
Introduction to Python Programming
What is Python?
Python is a high-level, interpreted, object-oriented programming language developed by
Guido van Rossum and released in 1991.
Features of Python
1. Easy to learn and use
2. Interpreted language
3. Platform independent
4. Open source
5. Large standard library
6. Supports Object-Oriented Programming
7. Used in AI, Machine Learning, Web Development, Data Science, and Automation
Applications of Python
• Artificial Intelligence
• Machine Learning
• Data Analysis
• Web Development
• Robotics
• Game Development
• Automation Scripts
First Python Program
print("Hello, World!")
Output
Hello, World!
Python Execution Process
1. Write code in a Python file (.py)
2. Python Interpreter reads the code
3. Converts it into bytecode
4. Executes the program
Installing Python & Jupyter Notebook
Installing Python
Steps
1. Visit [Link]
2. Download the latest Python version
3. Run the installer
4. Check "Add Python to PATH"
5. Click Install
Verify Installation
Open Command Prompt:
python --version
Example Output:
Python 3.12.0
Installing Jupyter Notebook
Open Command Prompt:
pip install notebook
Launch Jupyter Notebook
jupyter notebook
A browser window opens where you can create and run Python notebooks.
Advantages of Jupyter Notebook
• Interactive coding
• Easy visualization
• Suitable for AI and Data Science
• Supports code, text, and graphs together