Robotics AI& ML Sample Questions
Robotics AI& ML Sample Questions
13. List three machine learning algorithms for solving classification problems.
Logistic regression algorithm
Decision tree algorithm
Random forest algorithm
14. What is a binary classification problem? Explain with an example. Give also an example
for a classification problem which is not binary.
This is a classification problem with only two class labels. Eg email spam
classification. Emails are classified as either spam or not spam
Example of a non-binary classification: flower species classification based on
sepal and petals.
15. What is regression problem. What are the different types of regression?
Refer to the type of supervised learning where the goal is to predict continuous
numerical value based on the input feature.
Types of regression are: Linear, polynomial and Logistic regression
16. In the context of classification problems explain with examples the following: (i)
hypothesis (ii) hypothesis space.
(i) refers to a proposed rule that maps input instances to their corresponding class
labels. eg in spam email classification, an hypothesis can be a rule that states that if
an email contains a word “buy now” it’s a spam.
(ii) refers to all possible hypotheses that can be considered for a given classification
problem. Eg can contain different rules each capturing different characteristics of an
email spam
11. Explain cross-validation in machine learning. Explain the different types of cross-
validations.
is a technique to evaluate predictive models by partitioning the original
sample into a training set to train the model, and a test set to evaluate it.
12. What is meant by true positives etc.? What is meant by confusion matrix of a binary
classification problem? Explain how this can be extended to multi-class problems.
True positive is another name for Sensitivity or recall. Measures the proportion
of correctly predicted positive instances among all actual positive instances in
the dataset.
False positives measure the proportion of actual negative instances incorrectly
predicted as positive by the model.
Confusion matrix: it is a 2x2 matrix used to evaluate the performance of the binary
model
13. What are ROC space and ROC curve in machine learning? In ROC space, which points
correspond to perfect prediction, always positive prediction and always negative prediction?
Why?
It is a graphical representation that illustrates the performance of a binary
classification model at different classification model thresholds.
The left bottom corner point (0; 0): Always negative prediction
The right top corner point (1; 1): Always positive prediction
The left top corner point (0; 1): Perfect prediction
Points along the diagonal: Random performance
22. What is Fuzzy Logic? Explain Fuzzy Logic Systems Architecture. Given an example.
Fuzzy logic is the method of reasoning that resemble human reasoning.
Fuzzy architecture
It has 4 parts
Fuzzification module: transforms the fuzzy input into fuzzy sets. splits the input
signal into 5 steps: LP, MP, Small, MN and LM
Knowledge Base: stores IF-THEN RULE
Inference engine: simulates human reasoning process by making fuzzy inference on
the input data and using IF-THEN-RULE
Defuzzification: transforms fuzzy sets obtained by inference engine into a crisp value.
See diagram and example
23. Describe Membership Function.
This is the function that allows you to quantify linguistic term and represent a fuzzy
set graphically.
24. What are the Application Areas of Fuzzy Logic.
Automotive system
Environmental control
Domestic goods
25. Explain the following.
a. Components of NLP
Natural language understanding: analyses natural language. Mapping a given natural
language input into a useful representation.
Natural language generation: this is the process of producing meaningful phrases and
sentences in the form of natural language from some internal representation.
b. Difficulties in NLU
Syntax level ambiguity: when a sentence has multiple meaning.
Lexical ambiguity: a word has multiple meaning
Referential ambiguity: not sure which entity a word is referring to
c. NLP Terminology
Phonology: study of organizing sound systematically.
Sematics: concerned with meaning of words and how to combine words into
meaningful.
Morphology: study of construction of words from primitive meaningful units.
d. Steps in the development of NLP
1. Lexical analysis: identifying and analysing the structure of words.
2. Syntactic analysis: analysis of words in a sentence for gramma and arranging
words in the manner that shows relationship among the words.
3. Sematic analysis: draws the exact meaning of the text.
4. Programmatic: what was said is re-interpreted on what it was actually meant.
26. Explain the two Implementation Aspects of Syntactic Analysis
a. Context-Free Grammar
A context-free grammar (CFG) is a formal system used to describe the syntax or structure of a
language. It consists of a set of production rules that define how the elements of the language
can be combined to form valid sentences or phrases.
b. Top-Down Parser
A top-down parser is a parsing technique that starts from the root of a parse tree and works its
way down to the leaves.
It starts with a symbol and attempts to rewrite it into a sequence of terminal symbol that
matches the classes of the words in the input.
27. What are Expert Systems? What are Capabilities and Components of an Expert System?
These are computer programs developed to solve complex problems in a particular
domain at the level of extra ordinary human intelligence and expertise
Characteristics
High response
Reliable
Understandable
High performance
Capabilities
demonstrating
explaining
interpreting
justifying the conclusion
28. What is Knowledge? Explain the Components of Knowledge Base, its representation and
acquisition.
Knowledge is the combination of data, information and past experience.
Knowledge base
It contains domain specifics and highly quality knowledge
It is required to exhibit intelligence
Components of knowledge base
Factual: information widely accepted by knowledge engineers and scholars
Heuristic knowledge: it is about practice, accurate judgement. One’s ability to
evaluate and guessing
Knowledge Representation
This is the method used to organize the knowledge in the knowledge base.
It is in the form of IF-THEN-ELSE
Knowledge Acquisition
refers to the process of obtaining and incorporating information or expertise into an
AI system, typically through data collection, manual input, or learning algorithms, to
enhance its knowledge and performance.
29. What is an Inference Engine? What are the strategies used by the Inference Engine to arrive at
a solution?
An inference engine is a component of an AI system that applies logical rules and
reasoning techniques to draw conclusions or make inferences based on the available
knowledge or information
It manipulates knowledge from the knowledge base to arrive at a particular solution.
In case of rules based, it applies the rules repeatedly to the fact obtained from earlier
rule application
30. List down the Applications of Expert System.
Automotive design
Monitoring system: comparing data with observed system
Finding out faults in vehicles
31. What are the general steps in the Development of an Expert System?
Identify the problem: the problem must be suitable for an expert system to solve. And
establish cost effective of the system.
Design the system: identify the technology to be used.
Develop the prototype.
Test and refine the prototype
Develop and complete an expert system. Document it, train users and test.
32. What are Artificial Neural Networks (ANNs), its basic structure, types, and working
principle.
These are computing systems made up of a number of simple highly interconnected
computing elements which process information by their dynamic state response to
extend input.
Types
Feedforward: information flow in one direction. No feedback. Used in pattern
generation
Feedback: here feedback loops are allowed.
Working of ANNs
Each arrow represents a connection between two neurons and indicate
the pathway for the flow of information.
Each connection has a weight, an integer number which controls the
signal between two neurons.
If the neurone generates desired output, there is no need to adjust the
weight.
33. Explain the learning strategies of ANNs.
Supervised learning: it requires to be trained.
Unsupervised learning: required when there is no example data. This does not need to
be trained.
Re-inforcement: based on observation
34. Explain Bayesian Networks (BN) with an example problem and derive at the Probability
table.
These are graphical structure used to represent a probabilistic relationship among a set
of random values.
Each node represents a random variable with a specific proposition
35. List the Applications of Neural Networks.
Medical: cancer cell analysis
Speech recognition
Process control