Artificial Intelligence (AI) encompasses the remarkable ability of machines to exhibit rational thinking and human-like behavior. It serves as a dynamic subset within the broader field of data science, breathing life into machines. Within AI, data scientists analyze predictive data, leveraging algorithm-based machine learningâan integral artificial intelligence component.
Machines acquire knowledge through a variety of techniques and then put that knowledge to use when making decisions or carrying out tasks. With research to achieve level 5 automation for autonomous vehicles, AI is the future of self-driving cars. Based on the strength and application of AI, it can be broadly classified into three types. Weak, Strong, and Super AI.
This article was published as a part of the Data Science Blogathon.
An AI system is composed of agents and environments.
Agents: Agents are software, hardware, or a combination of both devices operating in the environment to achieve certain goals. An Intelligent agent acts autonomously and persists over a longer period. It should also be able to adapt to changes in pursuit of a certain goal. Agents perceive through sensors and operate on the environment through actuators. An environment can have a single agent or multiple agents.
Agents can be classified based on various features:
For example, voice assistants like Alexa and Siri are Softbots or software agents, and robotic cars are perfect examples of Hardware agents.
Rational Agent: An agent who has complete knowledge, clear preferences, models uncertainty, and behaves in a way to maximize its performance measure via all feasible actions is said to be acting rationally. A rational agent will always perform the right thing.
Autonomous Agent: An agent which can decide autonomously the actions that need to be taken in the current instance to maximize progress towards its goals.
You can also explore the tutorial: Introduction to Python
PEAS, crucial in AI design for tasks like web development, encapsulates performance, environment, actors, and sensors. PEAS serves as a framework for AI agents, addressing performance evaluation of the Environment, Sensors, and actuators.
It assesses an agent’s success in dynamic settings. Understanding the task environment aids in algorithmic optimization, making PEAS instrumental in crafting effective AI strategies for tasks, including web development.
Sensors: This criterion helps agents perceive their environment by giving them a complete set of Inputs. The action of agents depends on the history and the current input set. Examples of sensors include cameras, GPS, odometers, various sensing tools, etc.
Actuators: Actuators help agents operate in the environment. Actuators include display boards, object-picking arms, track-changing mechanisms, etc. Actions performed by agents can bring change to the environment as well.
Environment: The agent’s surroundings at a particular instant in which the agent works are called the environment. It can be static or dynamic based on the motion of the agent. A small change in the environment will also change the required sensors and actions of the Agent.
As per Russell and Norvig, an environment can be classified on various factors:
Performance measure: The performance measure defines an agent’s success or accuracy in achieving its set goals.
Also read: AI in Cybersecurity: What You Need to Know
Let’s understand the PEAS system for a ketchup-producing industry. To produce good quality ketchup, it is important to segregate the ripe tomatoes and use them for production. Using bad-quality or unripe tomatoes can lower the quality of the ketchup. Now, classifying the tomatoes can be done manually, but it would be tedious for humans as a factory might process thousands of tomatoes daily. Hence, we can incorporate an AI to help us. Hence, we must know about our task environment and the agent we will use.
Agent: Tomato classification system.
Sensors: Weighing sensors, Cameras for visual input, color sensing, etc.
Actuators: Track changing mechanism for segregation, display boards, or a Y-belt for quick classification into ripe and unripe tomatoes.
Environment: Our environment can be a moving walkway through which the tomatoes are passed on for segregation. It should have a good source of light for better camera input.
Performance: It measures how successful the agent is in classifying the tomatoes. It can be a confusion matrix with true positive, true negative, false positive, and false negative numbers or the model’s accuracy.
PEAS, which stands for Performance, Environment, Actuators, and Sensors, is a comprehensive framework for designing intelligent systems. It includes a speedometer, problem-solving, and natural language processing (NLP). PEAS descriptions emphasize crafting AI models adept at real-world scenarios by capturing the dynamic interplay of these key elements. Moreover, PEAS, a crucial performance metric, will continue to be crucial for AI researchers and engineers, offering guidance in constructing intelligent systems that excel within their specific domains.
Ans. Sensors in AI are devices or components that gather data from the environment or the system they are integrated with. They capture various types of information, such as temperature, light, sound, motion, or chemical composition. AI algorithms then utilize these data inputs to make informed decisions, learn patterns, or intelligently interact with the environment.
Ans. Different types of agents in AI include:
A. Simple Reflex Agents: React to the current state of the environment without considering history.
B. Model-Based Reflex Agents: Utilize internal models to make decisions based on the current state and history.
C. Goal-Based Agents: Take actions based on achieving specific goals.
D. Utility-Based Agents: Consider both goals and utility to maximize overall satisfaction.
E. Learning Agents: Learn from their experiences and improve their performance over time.
Ans. PEAS for a self-driving car agent: Performance (efficient navigation and collision avoidance), Environment (road conditions and traffic), Actuators (steering, acceleration, braking), and Sensors (cameras, lidar, radar). The agent’s goal is safe and effective autonomous driving, balancing speed, precision, and adherence to traffic rules for optimal performance.
Ans. AutoML, or Automated Machine Learning, refers to using automated tools and algorithms to streamline and automate the process of building, training, and deploying machine learning models. It aims to make machine learning accessible to non-experts by automating various tasks like feature engineering, model selection, and hyperparameter tuning.
Ans. The PEAS (Performance measure, Environment, Actuators, Sensors) framework guides the design of chatbot systems. It defines how the system performs (Performance measure), operates in its context (Environment), executes actions (Actuators), and perceives user inputs (Sensors). It ensures effective, goal-oriented functionality, enhancing the chatbot’s overall performance.
Ans. PEAS (Performance measure, Environment, Actuators, Sensors) components for an AI chess-playing agent include:
A. Performance Measure: Winning the game or achieving checkmate.
B. Environment: Chessboard, pieces, and rules.
C. Actuators: Move generation and piece placement.
D. Sensors: Board state perception and opponent’s moves.
Ans. PEAS (Performance measure, Environment, Actuators, Sensors) for a vacuum cleaner in AI would involve measuring cleaning efficiency (performance), the home environment with obstacles (environment), motors and brushes for movement (actuators), and sensors for detecting dirt and navigation (sensors), collectively guiding the vacuum’s intelligent operation.
The media shown in this article is not owned by Analytics Vidhya and is used at the Authorâs discretion.