Introduction To AI Module 1 Part C
Introduction To AI Module 1 Part C
MODULE 1 -PART C
UNIT 1: Introduction: What is AI? The Foundation of Artificial Intelligence
1. Remembering
Question 1: Define and briefly describe the following fundamental concepts related
to Artificial Intelligence (AI) and provide one real-life example for each:
i) Artificial Intelligence (AI)
ii) Machine Learning (ML)
iii) Neural Networks
iv) Natural Language Processing (NLP)
v) Robotics
2. Understanding
Question 2: Explain how deep learning uses mathematical principles to perform a
task such as image recognition.
3. Applying
Question 3: A real estate agent wants to predict the price of a house based on its size. You have
the following data:
|--------------|-----------|
| 1500 | 300,000 |
| 1700 | 340,000 |
| 1800 | 360,000 |
| 2000 | 400,000 |
| 2200 | 440,000 |
Using linear regression, predict the price of a house that is 1900 sq ft both manually and using Python.
Question 4: An email classification system uses the frequency of certain keywords to determine if an
email is spam. Given the following data:
|-------------------|-------------------------|
|3 |1 |
|1 |0 |
|4 |1 |
|2 |0 |
|5 |1 |
Using logistic regression, determine the probability that an email with a keyword frequency of 3 will
be classified as spam.
Question 6: A neural network is trained to classify images and achieves an error rate of 15% on
the training set and 20% on the test set. If the training set contains 10,000 images and the test
set contains 5,000 images, calculate the number of misclassified images in both sets both
manually and using Python commands.
Question 9: Given the following data for pollutants and their respective
concentrations in a city, predict the AQI using a simple linear regression model. The
AQI is influenced by two main pollutants: PM2.5 and O3 (Ozone). Model the
relationship between AQI and the pollutants. The required data are given below:
55 40 150
78 60 200
90 80 250
100 90 280
Question 10: Discuss the potential risks of AI in terms of data privacy and security.
Provide examples to illustrate your points.
Question 11: Evaluate the benefits of AI in healthcare, with specific examples of how
AI is currently being used to improve patient outcomes.
Question 12: Consider a small online store that sells three types of products: Books,
Electronics, and Clothing. The store wants to implement a recommendation system
based on customers' past purchases. The logic is as follows:
(i) If a customer has purchased a book, recommend a related book.
(ii) If a customer has purchased electronics, recommend an accessory for that
electronic item.
(iii) If a customer has purchased clothing, recommend a complementary clothing
item.
Suppose that a customer purchases "The Great Gatsby"; "Smartphone" and "T-Shirt"
in Books, Electronics and Clothing respectively, then:
a. Create a knowledge base to represent the rules and facts.
b. Determine the recommendations manually.
c. Implement the logic in Python to automate the recommendation process.
Find the output manually and using python commands.
4. Analyzing
Question 13: Compare the use of AI in recommendation systems versus autonomous
vehicles in terms of their interaction with the environment.
Using the given data, predict the WQI using both manual approach and machine
learning model implementing Python.