arya2004/artificial-intelligence

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

Aperta

#10 aperta il 4 ott 2025

 (0 commenti) (0 reazioni) (0 assegnatari)Python (4 fork)auto 404
expert-systemgood first issuehacktoberfestprolog

Metriche repository

Star
 (2 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

🧠 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.

Guida contributor