Ai Module 6
Ai Module 6
Learning in AI
Supervised Learning-
In supervised learning, models are trained using labeled dataset, where the
model learns about each type of data. Once the training process is
completed, the model is tested on the basis of test data , and then it
predicts the output.
Unsupervised Learning-
Reinforcement Learning-
experience only.
● The agent interacts with the environment and explores it by itself. The
upon it.
environment.
● State(): State is a situation returned by the environment after each
● Policy(): Policy is a strategy applied by the agent for the next action
Ensemble Learning.
Expert Systems
An expert system is a computer program that is designed to solve complex
problems and to provide decision-making ability like a human expert. It
performs this by extracting knowledge from its knowledge base using the
reasoning and inference rules according to the user queries.An Expert
system is a domain in which Artificial Intelligence stimulates the behavior
and judgment of a human or an organization containing experts. It acquires
relevant knowledge from its knowledge base and interprets it as per the
user’s problem. The data in the knowledge base is essentially added by
humans who are experts in a particular domain. However, the software is
used by non-experts to gain information. It is used in various medical
diagnoses, accounting, coding, gaming, and more areas.
● Knowledge base
● Inference engine
● user interface
With the help of a user interface, the expert system interacts with the
user, takes queries as an input in a readable format, and passes it to
the inference engine. After getting the response from the inference
engine, it displays the output to the user. In other words, it is an
interface that helps a non-expert user to communicate with the expert
system to find a solutionThis component is essential for a non-expert
user to interact with the expert system and find solutions.
working memory
the general information about the patient, such as gender, age, etc.
● Now the system has collected all the information, so it will find the
solution for the problem by applying if-then rules using the inference
engine and using the facts stored within the KB.
● In the end, it will provide a response to the patient by using the user
interface.