Ai ML Exam Notes
Ai ML Exam Notes
the theory and development of computer systems able to perform tasks normally requiring human
intelligence, such as visual perception, speech recognition, decision-making, and translation between
languages.
Applications of AI
1. AI in Astronomy
Artificial Intelligence can be very useful to solve complex universe problems. AI technology can be
helpful for understanding the universe such as how it works, origin, etc.
2. AI in Healthcare
In the last, five to ten years, AI becoming more advantageous for the healthcare industry and going to
have a significant impact on this industry.
Healthcare Industries are applying AI to make a better and faster diagnosis than humans. AI can help
doctors with diagnoses and can inform when patients are worsening so that medical help can reach to
the patient before hospitalization.
3. AI in Gaming
AI can be used for gaming purpose. The AI machines can play strategic games like chess, where the
machine needs to think of a large number of possible places.
4. AI in Finance
AI and finance industries are the best matches for each other. The finance industry is implementing
automation, chatbot, adaptive intelligence, algorithm trading, and machine learning into financial
processes.
5. AI in Data Security
The security of data is crucial for every company and cyber-attacks are growing very rapidly in the digital
world. AI can be used to make your data more safe and secure. Some examples such as AEG bot, AI2
Platform,are used to determine software bug and cyber-attacks in a better way.
6. AI in Social Media
Social Media sites such as Facebook, Twitter, and Snapchat contain billions of user profiles, which need
to be stored and managed in a very efficient way. AI can organize and manage massive amounts of data.
AI can analyze lots of data to identify the latest trends, hashtag, and requirement of different users.
8. AI in Automotive Industry
Some Automotive industries are using AI to provide virtual assistant to their user for better
performance. Such as Tesla has introduced TeslaBot, an intelligent virtual assistant.
Various Industries are currently working for developing self-driven cars which can make your journey
more safe and secure.
9. AI in Robotics:
Artificial Intelligence has a remarkable role in Robotics. Usually, general robots are programmed such
that they can perform some repetitive task, but with the help of AI, we can create intelligent robots
which can perform tasks with their own experiences without pre-programmed.
Humanoid Robots are best examples for AI in robotics, recently the intelligent Humanoid robot named
as Erica and Sophia has been developed which can talk and behave like humans.
10. AI in Entertainment
We are currently using some AI based applications in our daily life with some entertainment services
such as Netflix or Amazon. With the help of ML/AI algorithms, these services show the
recommendations for programs or shows.
11. AI in Agriculture
Agriculture is an area which requires various resources, labor, money, and time for best result. Now a
day's agriculture is becoming digital, and AI is emerging in this field. Agriculture is applying AI as
agriculture robotics, solid and crop monitoring, predictive analysis. AI in agriculture can be very helpful
for farmers.
12. AI in E-commerce
AI is providing a competitive edge to the e-commerce industry, and it is becoming more demanding in
the e-commerce business. AI is helping shoppers to discover associated products with recommended
size, color, or even brand.
13. AI in education:
AI can automate grading so that the tutor can have more time to teach. AI chatbot can communicate
with students as a teaching assistant.
AI in the future can be work as a personal virtual tutor for students, which will be accessible easily at any
time and any place.
3)How AI can be used in businesses
Information Technology (IT) is used in business for transmitting, storing, manipulating and retrieving
data. The purpose of IT used in business are:
4) Intellligent agents
Following are the main three terms involved in the structure of an AI agent:
Architecture: Architecture is machinery that an AI agent executes on.
Agent Function: Agent function is used to map a percept to an action.
Agent program: Agent program is an implementation of agent function. An agent
program executes on the physical architecture to produce function f.
5) What is searching?
Searching is the universal technique of problem solving in AI. There are some single-
player games such as tile games, Sudoku, crossword, etc. The search algorithms help
you to search for a particular position in such games.
Breadth-First Search
It starts from the root node, explores the neighboring nodes first and moves towards the
next level neighbors. It generates one tree at a time until the solution is found. It can be
implemented using FIFO queue data structure. This method provides shortest path to
the solution.
If branching factor (average number of child nodes for a given node) = b and depth =
d, then number of nodes at level d = bd.
The total no of nodes created in worst case is b + b 2 + b3 + … + bd.
Disadvantage − Since each level of nodes is saved for creating next one, it consumes
a lot of memory space. Space requirement to store nodes is exponential.
Its complexity depends on the number of nodes. It can check duplicate nodes.
Depth-First Search
It is implemented in recursion with LIFO stack data structure. It creates the same set of
nodes as Breadth-First method, only in the different order.
As the nodes on the single path are stored in each iteration from root to leaf node, the
space requirement to store nodes is linear. With branching factor b and depth as m, the
storage space is bm.
Disadvantage − This algorithm may not terminate and go on infinitely on one path. The
solution to this issue is to choose a cut-off depth. If the ideal cut-off is d, and if chosen
cut-off is lesser than d, then this algorithm may fail. If chosen cut-off is more than d,
then execution time increases.
Its complexity depends on the number of paths. It cannot check duplicate nodes.
Bidirectional Search
It searches forward from initial state and backward from goal state till both meet to
identify a common state.
The path from initial state is concatenated with the inverse path from the goal state.
Each search is done only up to half of the total path.
Informed Search: Informed Search algorithms have information on the goal state which
helps in more efficient searching. This information is obtained by a function that estimates
how close a state is to the goal state. eg.greedy search
10: diff B/W depth first search and breadth first search
BFS stands for Breadth First Search is a vertex based technique for finding a shortest path in graph. It
uses a Queue data structure which follows first in first out. In BFS, one vertex is selected at a time when
it is visited and marked then its adjacent are visited and stored in the queue. It is slower than DFS.
/\
B C
/ /\
D E F
DFS stands for Depth First Search is a edge based technique. It uses the Stack data structure, performs
two stages, first visited vertices are pushed into stack and second if there is no vertices then visited
vertices are popped.