A repository of learning materials. From a simple neuron to Artificial Intelligence.
This is the companion code repository for Neurogenesis — an interactive AI education platform by NeuralRhythms.
Each folder contains runnable Python code that accompanies a chapter or case study on the website. The code is heavily commented so you can read it like a tutorial — even without deep coding experience.
genesis/
├── chapters/
│ └── chapter-01/ # The First Neuron
│ ├── simple_neuron.py
│ ├── neuron_training.py
│ └── neuron_training_batch.py
├── case-studies/
│ └── car-prices/ # Case Study 01: Car Price Prediction
│ ├── 01_explore_data.py
│ ├── 02_first_neuron.py
│ ├── 03_training_raw.py
│ ├── 04_normalised.py
│ ├── 05_visualise_loss.py
│ ├── 06_save_model.py
│ ├── 07_load_model.py
│ ├── 08_exercise_solution.py
│ └── data/
│ └── used_cars.csv
├── requirements.txt
└── LICENSE
For detailed setup instructions covering Windows, macOS, and Linux, see:
👉 SETUP.md — complete environment setup guide
git clone https://github.com/neuralrhythms/genesis.git
cd genesispython -m venv venv
# Activate it:
# Windows
venv\Scripts\activate
# macOS / Linux
source venv/bin/activatepip install -r requirements.txtcd case-studies/car-prices
python 04_normalised.pyVisual Studio Code with the Python extension.
Quick setup in VS Code:
- Open the
genesisfolder Ctrl+Shift+P→ "Python: Create Environment" → Venv → select interpreter → selectrequirements.txt- Open any
.pyfile and pressF5to run
| # | Title | Website | Code |
|---|---|---|---|
| 01 | The First Neuron | Read → | chapters/chapter-01/ |
| # | Title | Website | Code |
|---|---|---|---|
| 01 | Car Price Prediction | Read → | case-studies/car-prices/ |
| 02 | Stroke Risk Prediction | Read → | case-studies/stroke-risk/ |
All code uses:
- Python 3.10+
- PyTorch — neural network framework
- Pandas — data loading and cleaning
- Matplotlib — loss curve visualisation
See requirements.txt for exact versions.
This repository is licensed under the MIT License.
The used car dataset (case-studies/car-prices/data/used_cars.csv) is by
Taeef Najib
and is licensed under CC BY 4.0.
- Website: ai.neuralrhythms.in
- Portfolio: neuralrhythms.in
- Website repo: github.com/neuralrhythms/neurogenesis