Description: 

A Knowledge-Based System uses a knowledge base to reason and solve complex problems. Thus, we could say that today any problem/system is a Knowledge Based System (KBS). The fundamental features that characterize a KBS are, as its name suggests, Knowledge, the Knowledge Representation, Reasoning and the Search that can be carried out on it. And these will be the axes that the subject will deal with.

Type Subject
Obligatoria no de Primer
Semester
First
Course
2
Credits
6.00

Titular Professors

Previous Knowledge: 

Programming fundamentals.

Objectives: 

The goals will focus on:

  • Know the scope of Artificial Intelligence and, in particular, the field of Knowledge-Based Systems.
  • Know the classic machine learning algorithms.
  • Be aware of the computational costs and the quality of the solutions of the different search algorithms.
  • Be aware of the importance of knowledge, as well as how to deal with it.
  • Develop a specific case: an expert system.

Contents: 

1. Introduction

  • History of AI: symbolic vs. statistical
  • Knowledge-Based Systems and applications

2. Python for AI

  • Quick intro for C programmers
  • Lists, dicts, sets, functions
  • Encoding facts and rules

3. Knowledge Representation

  • Propositional logic & Horn clauses
  • Semantic networks & frames
  • Ontologies & querying

4. Rule-Based Systems

  • IF–THEN rules
  • Forward & backward chaining
  • Inference strategies & conflict resolution

5. Search & Optimization

  • BFS, DFS, Uniform-Cost
  • Heuristic search (Greedy, A*)
  • Local search & CSPs

6. Uncertainty

  • Probability & Bayes’ rule
  • Naïve Bayes classifiers
  • Certainty factors
  • Bayesian networks

7. NLP & Machine Learning

  • Text preprocessing & information extraction
  • Decision trees → rule extraction
  • Hybrid symbolic + ML

Methodology: 

The methodology used combines master classes, the resolution of exercises, student participation, and the development of a project. For the student, this will involve both individual and groups works, as well as conceptual exercises, implemented exercises, oral presentations and written presentations. The course will follow two lines in parallel: 1) the master classes and the most conceptual exercises to advance the syllabus; and 2) the development of the project from the first day to the last class which will involve up to five deliveries: from the conceptualization of a expert system to its development with a final presentation.

Evaluation: 

This subject will have a continuous assessment as follows:

FINAL GRADE = 40% Exercises_Grade + 60% Project_Grade

To pass the subject:

  • Exercises_Grade >= 5
  • Project Grade >=5
  • Overall Grade >= 5.0

AI Assessment Scale

In the assessments of this course, students may use AI tools as a form of collaboration, particularly in programming projects. AI can be used to support learning and improve submitted work, for example to:

  • refine code, reports, or explanations;
  • receive feedback on drafts or implementation ideas;
  • clarify course concepts;
  • debug programming errors;
  • improve the structure, clarity, and presentation of work.

Students remain fully responsible for the correctness, originality, and understanding of their submissions. AI must not replace the student’s own contribution or be used to submit work they cannot explain. Any use of AI must be documented in the submitted report, including the tools used, their purpose, and how their outputs were incorporated into the final work.

Evaluation Criteria: 

  • Understanding of KBS concepts and techniques
  • Knowledge representation and modeling quality
  • Design and implementation of the system
  • Application of inference and reasoning methods
  • Evaluation, validation, and critical analysis

Basic Bibliography: 

  • Aamodt, A., & Plaza, E. (1994). Case-Based Reasoning: Foundational Issues, Methodological Variations, and System Approaches. Artificial Intelligence Communications, 7(1), 39-59.
  • Bishop, C. M. (2006). Pattern Recognition and Machine Learning (1st ed.). Springer.
  • Buchanan, B. G., & Shortliffe, E. H. (1984). Rule-Based Expert Systems: The MYCIN Experiments of the Stanford Heuristic Programming Project. Addison-Wesley.
  • Ermine, J.-L. (1995). Expert Systems: The Technology of Knowledge-Based Systems. John Wiley & Sons.
  • Giarratano, J. C., & Riley, G. D. (1994). Expert Systems: Principles and Programming (3rd ed.). PWS Publishing.
  • Hall, D. (1988). Building Expert Systems. Addison-Wesley.
  • Heaton, J. (2015). Artificial Intelligence for Humans: Fundamental Algorithms (1st ed.). Heaton Research.
  • Jackson, P. C. (1981). An Introduction to Artificial Intelligence. McGraw-Hill.
  • Merritt, D. (1987). Building Expert Systems in Prolog. Prentice-Hall.
  • Mitchell, T. M. (1997). Machine Learning. McGraw-Hill.
  • Negnevitsky, M. (2002). Artificial Intelligence: A Guide to Intelligent Systems (2nd ed.). Addison-Wesley.
  • Nilsson, N. J. (1980). Foundations of Artificial Intelligence. Cambridge University Press.
  • Pearl, J. (1988). Probabilistic Reasoning in Intelligent Systems: Networks of Plausible Inference. Morgan Kaufmann Publishers.
  • Russell, S., & Norvig, P. (2010). Artificial Intelligence: A Modern Approach (3rd ed.). Pearson Education.

Additional Material: 

•Class/Lecture notes