arya2004/artificial-intelligence

🧠 Build a Prolog Expert System for Diagnosing Common Cold vs Flu

Aberta

#10 aberto em 4 de out. de 2025

 (0 comentário) (0 reação) (0 responsável)Python (4 forks)auto 404
expert-systemgood first issuehacktoberfestprolog

Métricas do repositório

Stars
 (2 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

🧠 Prolog Expert System: Cold vs Flu

Create a rule-based system in Prolog to diagnose whether a patient is more likely to have a common cold or influenza, based on symptoms like:

  • Fever
  • Body aches
  • Runny nose
  • Cough
  • Fatigue

📁 File to be created:


src/06_expert_system/cold_vs_flu.pl

Use ask() style user interaction or assert predicates. Document your rules with comments.

Guia do colaborador