TT Nuggets
TT Nuggets
Semester: VI
General Instructions
Section A
3. Which one of the following terms is not used in the Bayes’ Theorem?
a) Prior b) Unlikelihood
c) Posterior d) Evidence
10. A certain Professor at the Stanford University coined the word “Artificial
Intelligence” in 1956 at a conference held at Dartmouth College. Can you
name the Professor?
a) David Levy b) John McCarthy
c) Joseph Weizenbaum d) Hans Berliner
Section B
13. What is ‘Overfitting’ in machine learning and how can you avoid?
17. Briefly discuss the following (give suitable example for each):
(i) Supervised learning
(ii) Unsupervised learning
(10 Marks)
22. How AI is changing the Maritime Industry and What Are the Advantages?
(10 Marks)
Indian Maritime University
(A Central University, Govt of India)
End Semester Examinations – June 2024
Programme Name: B Tech (ME)
Semester: VI
Subject Code: UG11T4601
Subject Name: ARTIFICIAL INTELLIGENCE AND MACHINE LEARNING
Answer Key
Section A
1. a) Machine Learning
2. c) small search space
3. b) Unlikelihood
4. d) Classification
5. d) 5/12
6. b) CNN (Convolutional Neural Network)
7. d) All of the mentioned
8. c) None
9. c) Data base Management System
10. b) John McCarthy
Section B
Five Questions of 02 Marks each
11. What are various applications of AI?
Robotic vehicles
Speech recognition
Autonomous planning and scheduling
Game playing
Spam fighting
Logistics planning
Robotics
Machine Translation
13. What is ‘Overfitting’ in machine learning and how can you avoid?
Solution:
In machine learning, when a statistical model describes random error
or noise instead of underlying relationship ‘overfitting’ occurs. When a
model is excessively complex, overfitting is normally observed, because
of having too many parameters with respect to the number of training
data types. The model exhibits poor performance which has been
overfit.
Solution:
The activation function decides whether a neuron should be activated
or not by calculating the weighted sum and further adding bias to it.
The purpose of the activation function is to introduce non-linearity
into the output of a neuron.
Solution:
Section C
Seven Questions of 10 Marks each of which any 05 questions to be
answered.
16. (a) Discuss the historical evaluation of Artificial Intelligence.
Weak AI Strong AI
17. Briefly discuss the following (give suitable example for each):
(i) Supervised learning
(ii) Unsupervised learning
Solution
(i) Supervised Machine Learning:
Types:
Clustering
Association
Advantages:
Disadvantages:
Conditional probability:
Bayes' theorem:
Data bias.
Prejudice in design.
Socio-technical factors.
Hiring algorithms.
Bias auditing.
Transparency.
Internet activist Eli Pariser coined the term “filter bubble” circa 2010.
He noticed that search engines, social media sites, and other platforms
use algorithms to personalize and present the content based on your
previous activity, usually filtering out the content that offers
contrasting views or opinions.
Because of the filter bubble, you mostly see the posts reinforcing your
beliefs. Diverse content that could challenge what you believe in is just
not there. That’s why the filter bubble skews the information you
encounter online and can distort your perception of reality.
Platforms use this information to deduce many things about you – from
your age and gender to your relationship status and hobbies. Add it to
the information you provide to the companies willingly by posting,
commenting, or simply registering for their service.
Activation Function:
These are the final and important components that help to
determine whether the neuron will fire or not. Activation Function
can be considered primarily as a step function.
Based on the layers, Perceptron models are divided into two types.
These are as follows:
1. Single-layer Perceptron Model
2. Multi-layer Perceptron model
22. How AI is changing the Maritime Industry and What Are the
Advantages? 10 Marks
Information like fuel use and water traffic can offer many
applications for vessel efficiency and streamlined operations.
Route optimization can help crews reach their destination
quicker and optimize time on the water. AI can assist in
planning and operating, using details about local weather
patterns and forecasts, traffic patterns and fuel use to find the
quickest and safest routes for crews.
2. Fuel Consumption:
Sailing and internal operations require fuel and energy sources
to work. AI and machine learning can track how much fuel your
vessels consume and suggest strategies to reduce use for
better resource and cost management. Fuel consumption can
also give insights into inefficient processes, helping drive
improvements across ship operations.
Semester: VI
General Instructions
Section A
Ten MCQs/Fill in the Blanks of 01 Mark each – Choose the correct answer as
applicable.
4. Among the given options, which search algorithm requires less memory?
(a) Optimal Search (b) Depth First Search
(c) Breadth First Search (d) Linear Search
7. Choose the options below that do not fall within the category of Machine
Learning:
(a) Semi-unsupervised learning (b) Supervised learning
(c) Reinforcement learning (d) Unsupervised learning
10. What is the formula for Bayes’ theorem? Where (A & B) and (H & E) are events
and P(B), P(H) & P(E) ≠ 0.
(a) P(H|E) = [P(E|H) * P(E)] / P(H) (b) P(A|B) = [P(A|B) * P(A)] / P(B)
(c) P(H|E) = [P(H|E) * P(H)] / P(E) (d) P(A|B) = [P(B|A) * P(A)] / P(B)
Section B
Section C
16. Discuss in details the historical evaluation of Artificial Intelligence. (10 Marks)
17. (a) Using Bayes’ theorem, describe the following terms: Likelihood Ratio, Prior
Probability, Posterior probability and Marginal Probability. (4 Marks)
(b) What is the probability that person has disease dengue with neck pain?
Given: 80% of time dengue causes neck pain, P (dengue) = 1/30,000
and P (neck pain) =0.02. (6 Marks)
20. Explain the informed and Uniformed search techniques. Also, write down the
differences between them. (10 Marks)
21. (a) Explain in detail about Perceptron and its types? (5 Marks)
(b) What is Convolutional Neural Network (CNN)? (5 Marks)
Semester: VI
Answer Key
Section A
Ten MCQs/Fill in the Blanks of 01 Mark each – Choose the correct answer as
applicable.
Section B
Ans. Weak artificial intelligence (AI) —also called narrow AI—is a type
of artificial intelligence that is limited to a specific or narrow area. Weak AI
simulates human sensation. It has the potential to benefit society by
automating time-consuming tasks and by analysing data in ways that humans
sometimes can’t.
12. Give the difference between Machine Learning and Deep Learning.
Since deep learning and machine learning tend to be used interchangeably, it’s
worth noting the difference between the two. Machine learning and deep
learning, are sub-fields of artificial intelligence.
The way in which deep learning and machine learning differ is in how each
algorithm learns. "Deep" machine learning can use labelled datasets, also known
as supervised learning, to inform its algorithm, but it doesn’t necessarily require
a labelled dataset. Deep learning can ingest unstructured data in its raw form
(e.g., text or images), and it can automatically determine the set of features
which distinguish different categories of data from one another. This eliminates
some of the human intervention required and enables the use of larger data
sets.
13. What is ‘Overfitting’ in machine learning and how can you avoid?
Ans. The activation function decides whether a neuron should be activated or not
by calculating the weighted sum and further adding bias to it. The purpose of the
activation function is to introduce non-linearity into the output of a neuron.
Popular types of activation functions and when to use them:
Section C
1. Groundwork for AI
2. Birth of AI
3. AI Maturation
4. AI Boom
5. AI Winter
6. AI Agents
7. Artificial General Intelligence
Groundwork for AI: 1900-1950: In the early 1900s, there was a lot of media
created that cantered around the idea of artificial humans. So much so that
scientists of all sorts started asking the question: is it possible to create an
artificial brain? Some creators even made some versions of what we now call
“robots” (and the word was coined in a Czech play in 1921) though most of them
were relatively simple. These were steam-powered for the most part, and some
could make facial expressions and even walk.
Birth of AI: 1950-1956: This range of time was when the interest in AI really
came to a head. Alan Turing published his work “Computer Machinery and
Intelligence” which eventually became The Turing Test, which experts used to
measure computer intelligence. The term “artificial intelligence” was coined and
came into popular use.
AI maturation: 1957-1979: The time between when the phrase “artificial
intelligence” was created, and the 1980s was a period of both rapid growth and
struggle for AI research. The late 1950s through the 1960s was a time of
creation. From programming languages that are still in use to this day to books
and films that explored the idea of robots, AI became a mainstream idea quickly.
17. (a) Using Bayes’ theorem, describe the following terms: Likelihood
Ratio, Prior Probability, Posterior probability and Marginal Probability.
(4 Marks)
P (B∨ A)P ( A )
Ans. P(A|B) =
P(B)
The above equation is called as Bayes' rule or Bayes' theorem. This equation
is basic of most modern AI systems for probabilistic inference.
(b) What is the probability that person has disease dengue with neck
pain? Given: 80% of time dengue causes neck pain, P (dengue) =
1/30,000 and P (neck pain) =0.02. (6 Marks)
Ans. Let A be the proposition that person has neck and B be the proposition that
person has dengue. Therefore,
(b) Apply the minmax search algorithm and find the most convenient
path for the Max. node. (5 Marks)
Ans.
Convenient Path of Max. node: A-B-D
(b) What is a filter bubble and how does it work? Give examples.
(5 Marks)
Ans. A filter bubble is an algorithmic bias that skews or limits the information an
individual user sees on the internet. The bias is caused by the
weighted algorithms that search engines, social media sites and marketers use
to personalize user experience
Internet search engines and social media platforms usually track your activity on
their site and, with the help of third-party cookies, also off their site. They can
log:
The posts you see and interact with.
The time you spend on each post before moving on.
Your location (based on GPS or your IP address).
Your web searches and browsing history.
Websites you visit before coming to their site.
Websites you visit after leaving their site.
Anything and everything else you do on their site.
Platforms use this information to deduce many things about you – from your age
and gender to your relationship status and hobbies. Add it to the information you
provide to the companies willingly by posting, commenting, or simply registering
for their service.
20. Explain the Informed (Heuristic) and Uniformed search techniques. Also,
write down the differences between them. (10
Marks)
Ans. Informed Search in AI: The algorithms of an informed search contain
information regarding the goal state. It helps an AI make more efficient and
accurate searches. A function obtains this data/info to estimate the closeness of
a state to its goal in the system. For example, Graph Search and Greedy Search.
Features of Informed Search in AI:
It consists of information regarding the goal state.
It makes a search more efficient.
A function obtains the data/info regarding the closeness of the current
state of a search to its goal state.
It utilises knowledge for implementing the searching process.
A few examples include graph search and greedy search.
It incurs less cost.
It may be complete or incomplete.
A solution can be found much quicker.
This type of search consumes less time.
Implementation of such an AI is short and quick, not at all lengthy.
The AI gets a direct suggestion about the solution of the search/ problem.
Utilizing It uses knowledge during the It does not require using any knowledge
Knowledge process of searching. during the process of searching.
Cost Incurred The expenses are much The expenses are comparatively higher.
lower.
Suggestion/ The AI gets suggestions The AI does not get any suggestions
Direction regarding how and where to regarding what solution to find and where
find a solution to any to find it. Whatever knowledge it gets is
problem. out of the information provided.
Efficiency It costs less and generates It costs more and generates slower results.
quicker results. Thus, it is Thus, it is comparatively less efficient.
comparatively more efficient.
21. (a) Explain in detail about Perceptron and its types? (5 Marks)
Pooling Layers: Pooling layers downsample the spatial dimensions of the input,
reducing the computational complexity and the number of parameters in the
network. Max pooling is a common pooling operation, selecting the maximum
value from a group of neighbouring pixels.