





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!






Advanced Topics
1. Expert Systems Expert Systems (ES) are computer programs designed to emulate the decision-making ability of a human expert in a specific domain. They use a knowledge base of human expertise to solve problems that typically require human intelligence. Representation in Expert Systems: The way knowledge is represented is crucial for the effectiveness of an expert system. Common representation techniques include: - Rule-Based Systems: Knowledge is represented as a set of IF-THEN rules. o Example: o IF (patient has fever) AND (patient has cough) THEN (likely diagnosis is flu) o IF (patient has fever) AND (patient has sore throat) THEN (likely diagnosis is strep throat) o IF (engine does not start) AND (battery is dead) THEN (solution is charge battery) o Explanation: These rules link conditions (premises in the IF part) to conclusions or actions (actions in the THEN part). The system uses these rules to reason about the input data. - Frame-Based Systems: Knowledge is organized into frames, where each frame represents an object or a concept and contains slots (attributes) with associated values. o Example: A frame for a "Car": o Frame: Car o Slots: o Make: (Value: Toyota) o Model: (Value: Camry) o Color: (Value: Red) o Engine: (Value: Gasoline) o Problem: (Value: ?) o Possible_Solutions: (Value: ?) o Explanation: When a specific car with a problem is encountered, the "Problem" slot is filled, and the system can use rules or other knowledge linked to the "Car" frame to determine "Possible_Solutions". - Semantic Networks: Knowledge is represented as a graph of nodes (concepts or objects) connected by edges (relationships).
o Example: A semantic network for car problems: ▪ Nodes: Car, Engine, Battery, Fuel System, DoesNotStart, LowPower, NoFuel ▪ Edges: ▪ (Car) --has-part--> (Engine) ▪ (Engine) --powered-by--> (Battery) ▪ (Engine) --requires--> (Fuel System) ▪ (Car) --symptom--> (DoesNotStart) ▪ (Battery) --condition--> (LowPower) ▪ (Fuel System) --condition--> (NoFuel) ▪ (DoesNotStart) --caused-by--> (LowPower) ▪ (DoesNotStart) --caused-by--> (NoFuel) o Explanation: The network shows relationships between car components, symptoms, and potential causes, allowing the system to trace possible reasons for a problem. Expert System Shells: An expert system shell is a software development environment containing the essential components for building an expert system. It provides the structure and tools, allowing developers to focus on encoding the domain-specific knowledge. Key components of a shell include:
Consider a rule-based expert system for diagnosing simple plant problems: Knowledge Base (Rules):
Ant Colony System (ACS): The Ant Colony System is a probabilistic metaheuristic inspired by the foraging behavior of ant colonies. Ants initially explore the environment randomly, but when they find a food source, they deposit pheromone trails on the path back to the nest. Subsequent ants are more likely to follow paths with stronger pheromone concentrations. Over time, shorter paths tend to have higher pheromone concentrations because they can be traversed more quickly, leading to a positive feedback loop that allows the colony to find the shortest path to food. Development of Ant Colony System: The Ant Colony System was developed by Marco Dorigo and colleagues in the early 1990s. The initial algorithm, Ant System, laid the foundation, and subsequent improvements led to the Ant Colony System and its variants. Key ideas in its development include:
o Example: Ants iteratively try to color the vertices, using pheromone to guide them towards valid colorings.