# mir4oni3/artificial-intelligence architecture

> Architecture diagram of the GitHub repository mir4oni3/artificial-intelligence, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-21). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/mir4oni3/artificial-intelligence
- Repository: https://github.com/mir4oni3/artificial-intelligence

## Overview

This repository is a set of AI-course seminar materials, not a single application or shared runtime. The learner’s workflow is to choose a topic, work through its notebook lesson, and study or run its examples and visualizations. The nine seminars cover Python foundations, search, constraint satisfaction, genetic algorithms, game-playing, and machine learning. The README describes paired Jupyter and marimo notebooks with identical content; the graph uses the corresponding marimo `.py` source paths. Sampled files show in-notebook examples, but not cross-seminar calls, so no connections between lessons are implied.

Main entry points: [`seminars/1.Python_intro/python_intro.py`](https://github.com/mir4oni3/artificial-intelligence/blob/main/seminars/1.Python_intro/python_intro.py) (Python Intro), [`seminars/2.Uninformed_search/uninformed_search.py`](https://github.com/mir4oni3/artificial-intelligence/blob/main/seminars/2.Uninformed_search/uninformed_search.py) (Uninformed Search), [`seminars/3.Informed_search/informed_search.py`](https://github.com/mir4oni3/artificial-intelligence/blob/main/seminars/3.Informed_search/informed_search.py) (Informed Search), [`seminars/4.Constraint_satisfaction/constraint_satisfaction.py`](https://github.com/mir4oni3/artificial-intelligence/blob/main/seminars/4.Constraint_satisfaction/constraint_satisfaction.py) (Constraint Satisfaction)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_foundations["Foundations"]
  node_python["Python Intro<br/>[python_intro.py]"]
end

subgraph group_search["Search and CSP"]
  node_uninformed["Uninformed Search"]
  node_informed["Informed Search<br/>[informed_search.py]"]
  node_csp["Constraint Satisfaction"]
end

subgraph group_optimization["Optimization and Games"]
  node_genetic["Genetic Algorithms"]
  node_games["Game Search<br/>[games.py]"]
end

subgraph group_learning["Machine Learning"]
  node_intro_ml["ML Foundations<br/>[intro_to_ml.py]"]
  node_knn["KNN<br/>[KNN.py]"]
  node_naive_bayes["Naive Bayes<br/>[naive_bayes.py]"]
end

node_learner(("Learner"))

node_learner -->|"studies"| node_python
node_learner -->|"studies"| node_uninformed
node_learner -->|"studies"| node_informed
node_learner -->|"studies"| node_csp
node_learner -->|"studies"| node_genetic
node_learner -->|"studies"| node_games
node_learner -->|"studies"| node_intro_ml
node_learner -->|"studies"| node_knn
node_learner -->|"studies"| node_naive_bayes

click node_python "https://github.com/mir4oni3/artificial-intelligence/blob/main/seminars/1.Python_intro/python_intro.py"
click node_uninformed "https://github.com/mir4oni3/artificial-intelligence/blob/main/seminars/2.Uninformed_search/uninformed_search.py"
click node_informed "https://github.com/mir4oni3/artificial-intelligence/blob/main/seminars/3.Informed_search/informed_search.py"
click node_csp "https://github.com/mir4oni3/artificial-intelligence/blob/main/seminars/4.Constraint_satisfaction/constraint_satisfaction.py"
click node_genetic "https://github.com/mir4oni3/artificial-intelligence/blob/main/seminars/5.Genetic_algorithms/genetic_algorithms.py"
click node_games "https://github.com/mir4oni3/artificial-intelligence/blob/main/seminars/6.Games/games.py"
click node_intro_ml "https://github.com/mir4oni3/artificial-intelligence/blob/main/seminars/7.Intro_to_ML/intro_to_ml.py"
click node_knn "https://github.com/mir4oni3/artificial-intelligence/blob/main/seminars/8.KNN/KNN.py"
click node_naive_bayes "https://github.com/mir4oni3/artificial-intelligence/blob/main/seminars/9.Naive_bayes_classifier/naive_bayes.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_python toneBlue
class node_uninformed,node_informed,node_csp toneAmber
class node_genetic,node_games toneMint
class node_intro_ml,node_knn,node_naive_bayes toneRose
class node_learner toneIndigo
```

## Components

### Foundations

- [Python Intro](https://github.com/mir4oni3/artificial-intelligence/blob/main/seminars/1.Python_intro/python_intro.py): `seminars/1.Python_intro/python_intro.py`

### Search and CSP

- [Uninformed Search](https://github.com/mir4oni3/artificial-intelligence/blob/main/seminars/2.Uninformed_search/uninformed_search.py): `seminars/2.Uninformed_search/uninformed_search.py`
- [Informed Search](https://github.com/mir4oni3/artificial-intelligence/blob/main/seminars/3.Informed_search/informed_search.py): `seminars/3.Informed_search/informed_search.py`
- [Constraint Satisfaction](https://github.com/mir4oni3/artificial-intelligence/blob/main/seminars/4.Constraint_satisfaction/constraint_satisfaction.py): `seminars/4.Constraint_satisfaction/constraint_satisfaction.py`

### Optimization and Games

- [Genetic Algorithms](https://github.com/mir4oni3/artificial-intelligence/blob/main/seminars/5.Genetic_algorithms/genetic_algorithms.py): `seminars/5.Genetic_algorithms/genetic_algorithms.py`
- [Game Search](https://github.com/mir4oni3/artificial-intelligence/blob/main/seminars/6.Games/games.py): `seminars/6.Games/games.py`

### Machine Learning

- [ML Foundations](https://github.com/mir4oni3/artificial-intelligence/blob/main/seminars/7.Intro_to_ML/intro_to_ml.py): `seminars/7.Intro_to_ML/intro_to_ml.py`
- [KNN](https://github.com/mir4oni3/artificial-intelligence/blob/main/seminars/8.KNN/KNN.py): `seminars/8.KNN/KNN.py`
- [Naive Bayes](https://github.com/mir4oni3/artificial-intelligence/blob/main/seminars/9.Naive_bayes_classifier/naive_bayes.py): `seminars/9.Naive_bayes_classifier/naive_bayes.py`

### Other components

- **Learner**

## Connections

- Learner → Python Intro: studies (evidence: `README.md`)
- Learner → Uninformed Search: studies (evidence: `README.md`)
- Learner → Informed Search: studies (evidence: `README.md`)
- Learner → Constraint Satisfaction: studies (evidence: `README.md`)
- Learner → Genetic Algorithms: studies (evidence: `README.md`)
- Learner → Game Search: studies (evidence: `README.md`)
- Learner → ML Foundations: studies (evidence: `README.md`)
- Learner → KNN: studies (evidence: `README.md`)
- Learner → Naive Bayes: studies (evidence: `README.md`)
