arya2004 / arya2004/artificial-intelligence

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

Open
#10 0 comments 0 reactions 0 assignees View on GitHub
expert-system good first issue hacktoberfest prolog
Dominant language
Python
Stars
2
Forks
4
PR merge metrics
No merged PRs in 30d

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.

Contributor guide

Open the contributing guide

Research direction

Create src/06_expert_system/cold_vs_flu.pl and start by reviewing the issue's required symptoms and interaction options. Implement a rule-based distinction between common cold and influenza using ask() style interaction or asserted predicates, with comments explaining the rules. Done means the file runs and can diagnose the two conditions from the listed symptoms.

Written by the indexing model from the issue text.

Assessment

Domain
ai
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.