













































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!














































































6.5 Processing of ANN .................................................................................................................................. 9 6.6 Application of ANN............................................................................................................................... 11 6.7 Sample Questions................................................................................................................................... 12 Chapter Seven: Communicating, Perceiving, and Acting ........................................................................................ 1 7.1 Natural language processing .................................................................................................................... 2 7.2 Applications of NLP ................................................................................................................................ 4 7.3 Introduction to robotics ............................................................................................................................ 5 7.4 Sample Questions..................................................................................................................................... 7
Objectives After completing this chapter, students will be able to know and understand Definition of Artificial Intelligence Typical AI problems Intelligent behaviour Practical Impact of AI Approaches to AI Limits of AI Today What can AI systems do? What can AI systems NOT do yet? Goals of AI General AI goal AI Techniques 1.1 Definition AI is the study of the mental faculties through the use of computational models. Artificial Intelligence is concerned with the design of intelligence in an artificial device. The term was coined by McCarthy in 1956. There are two ideas in the definition. i.e Intelligence, and Artificial device. What is intelligence? Intelligence relate to tasks involving higher mental process e.g. creativity, solving problems, pattern recognition, classification, classification, learning, induction, deduction, building analogies, optimization language processing, knowledge and many more. Intelligence is the computational part of the ability to achieve goals. Is it that which characterize humans? Or is there an absolute standard of judgment? Accordingly, there are two possibilities:
Turing Test
3. Logic and laws of thought deals with studies of ideal or rational thought process and inference. The emphasis in this case is on the inference mechanism, and its properties. That is how the system arrives at a conclusion, or the reasoning behind its selection of actions is very important in this point of view. The soundness and completeness of the inference mechanisms are important here. – think rationally
machines are capable of cognitive mental states. Weak AI: deals with the creation of some form of computer-based artificial intelligence that cannot truly reason and solve problems, but can act as if it were intelligent. Weak AI holds that suitably programmed machines can simulate human cognition. Applied AI: aims to produce commercially viable smart system. For example, a security system that is able to recognize the faces of people who are permitted to enter a particular building. Applied AI has already enjoyed considerable success. Cognitive AI: computers are used to test theories about how the human mind works--for example, theories about how we recognize faces and other objects, or about how we solve abstract problems.
Today‘s successful AI systems operate in well-defined domains and employ narrow, specialized knowledge. Common sense knowledge is needed to function in complex, open-ended worlds. Such a system also needs to understand unconstrained natural language. However these capabilities are not yet fully present in today‘s intelligent systems. 1.7 What can AI systems do? Today‘s AI systems have been able to achieve limited success in some of these tasks.
1.9 Goals of AI The definition of AI gives four possible goals to pursue systems that think like human science approach systems that act like human Test approach systems that think rationally of thought approach systems that act rationally agent approach General AI goal Replicate human intelligent Solve knowledge intensive task Make an intelligent connection between perception and action Enhance human-computer interaction/ communication Engineering based AI goal Develop concepts, theory and practice of building intelligent machines Emphasis is on system building Science based AI goal Develop concepts, mechanisms and vocabulary to understand biological intelligent behaviours Emphasis is on understanding intelligent behaviours
Various techniques that have involved can be applied to a variety of AI tasks. The techniques are concerned with how we represent, manipulate and reason with knowledge in order to solve problem. Example Techniques, not all ―intelligent‖ but used to behave as intelligent o Describe and match o Constraint satisfaction o Generate and Test Biology-inspired AI techniques are currently popular o Neural Network o Reinforcement learning 1.11 Sample questions
o Goal reduction o Tree search o Rule based system
o Genetic Algorithms
Objectives
After completing this chapter, students will be able to know and understand o Introduction to Intelligent Agents o Agents and the environments o Rationality Vs Omniscience o Structure of Intelligent Agents o Autonomy o Task Environments o Properties of Task environments o PEAS examples o Agent Types 2.1 Introduction to Intelligent Agents
2.6 Task Environments
2.7 Properties of Task environments Discrete / Continuous − If there are a limited number of distinct, clearly defined, states of the environment, the environment is discrete (For example, chess); otherwise it is continuous (For example, driving). Observable / Partially Observable − If it is possible to determine the complete state of the environment at each time point from the percepts it is observable; otherwise it is only partially observable. Static / Dynamic − If the environment does not change while an agent is acting, then it is static; otherwise it is dynamic. Single agent / Multiple agents − The environment may contain other agents which may be of the same or different kind as that of the agent. Accessible / Inaccessible − If the agent‘s sensory apparatus can have access to the complete state of the environment, then the environment is accessible to that agent. Deterministic / Non-deterministic − If the next state of the environment is completely determined by the current state and the actions of the agent, then the environment is deterministic; otherwise it is non-deterministic. Episodic / Non-episodic − In an episodic environment, each episode consists of the agent perceiving and then acting. The quality of its action depends just on the episode itself. Subsequent episodes do not depend on the actions in the previous episodes. Episodic environments are much simpler because the agent does not need to think ahead. 2.8 PEAS examples
o A ctuator: agent acts with in its environment o S ensor: the agent senses its environment
2.9.1 Simple reflex agent
Hence, learning agents are able to learn, analyse performance, and look for new ways to improve the performance. 2.10 Summery AI is to build intelligent agents that act so as to optimize performance. An agent perceives and acts in an environment, has architecture, and is implemented by an agent program. An ideal agent always chooses the action which maximizes its expected performance, given its percept sequence so far. An autonomous agent uses its own experience rather than built-in knowledge of the environment by the designer. An agent program maps from percept to action and updates its internal state. Reflex agents respond immediately to precepts. Goal-based agents act in order to achieve their goal(s). Utility-based agents maximize their own utility function. Representing knowledge is important for successful agent design. The most challenging environments are partially observable, stochastic, sequential, dynamic, and continuous, and contain multiple intelligent agents. 2.11 Questions
1. Which of the following is the meaning of the agent’s percept sequence? A. A complete history of perceived things B. A complete history of the actuator C. Used to perceive the environment D. None of these 2. are very helpful in AI for perceiving and acting upon the environment? A. Perceiver B. Sensors
C. Sensors and Actuators D. None of these
3. Which of the following is the composition for agents in AI? A. Program B. Architecture 4. Artificial Intelligence is unable to do yet? A. Understanding the natural language robustly B. Web mining C. plans Construction in real-time dynamic systems D. All of these
C. Both A and B D. None of these
E. None of these
5. Problem generator is present in which of the following agent? A. Reflex B. Observing
C. Learning D. None of these
6. Which of the following is the rule of a simple reflex agent? A. Simple-action rule B. Simple & Condition-action rule C. Condition-action rule D. None of these 7. We can improve the performance of agents with the help of? A. Learning B. Perceiving
C. Observing D. None of these
8. We can achieve the agent’s goal with the help of ……. action sequences? A. Search B. Plan C. Retrieve
D. Both A and B E. None of these
9. The action of the Simple reflex agent fully depends upon which of the following? A. Perception history B. Current perception C. Learning theory
D. Utility functions E. None of these
Objectives
o Problem Solving by Searching o What is search and terminologies? o Search Strategies o Unformed Search Strategies
Note: Backtracking is an algorithm technique for finding all possible solutions using recursion. It traverses a tree from Root node--->Left node ---- > right node. Advantage: DFS requires very less memory as it only needs to store a stack of the nodes on the path from root node to the current node. It takes less time to reach to the goal node than BFS algorithm (if it traverses in the right path). Disadvantage: There is the possibility that many states keep re-occurring, and there is no guarantee of finding the solution. DFS algorithm goes for deep down searching and sometime it may go to the infinite loop. Example
Completeness: DFS search algorithm is complete within finite state space as it will expand every node within a limited search tree. Time Complexity: Time complexity of DFS will be equivalent to the node traversed by the algorithm. T(n)=O(nm), where m= maximum depth of any node and this can be much larger than d (Shallowest solution depth) Space Complexity: DFS algorithm needs to store only single path from the root node, hence space complexity of DFS is equivalent to the size of the fringe set, which is O(bm). Optimal: DFS search algorithm is non-optimal, as it may generate a large number of steps or high cost to reach to the goal node.
2. BFS
Time Complexity: is obtained by the number of nodes traversed in BFS until the shallowest Node. T (b) =O(bd) where d= depth of shallowest solution and b is a node at every state. Space Complexity: Space complexity of BFS algorithm is given by the Memory size of frontier which is O(bd) Completeness: BFS is complete, which means if the shallowest goal node is at some finite depth, then BFS will find a solution. Optimality: BFS is optimal if path cost is a non-decreasing function of the depth of the node.
3. Depth limited search A depth-limited search algorithm is similar to depth-first search with a predetermined limit. Depth- limited search can solve the drawback of the infinite path in the Depth-first search. In this algorithm, the node at the depth limit will treat as it has no successor nodes further.