An open API service indexing awesome lists of open source software.

https://github.com/kelvinleandro/manim-animations

Animations exploring various concepts in computer science, with a special focus on machine learning and statistics
https://github.com/kelvinleandro/manim-animations

classification-algorithm clustering-algorithm computer-science machine-learning machine-learning-algorithms manim manim-3b1b manim-animations python python3 regression-algorithms statistics

Last synced: about 1 month ago
JSON representation

Animations exploring various concepts in computer science, with a special focus on machine learning and statistics

Awesome Lists containing this project

README

          

# Manim Animations

Animations using Manim Community exploring various concepts in computer science, with a special focus on machine learning and statistics

## Current animations

- Autoencoder: [source](./src/autoencoder.py), [video](./videos/Autoencoder.mp4)
- Normalization: [source](./src/normalization.py), [video](./videos/Normalization.mp4)
- Linear Regression: [source](./src/linreg.py), [video](./videos/LinearRegression.mp4)
- K-Means Clustering: [source](./src/kmeans.py), [video](./videos/KMeans.mp4)
- Markov Chain: [source](./src/markov.py), [video](./videos/MarkovChain.mp4)
- Normal Distribution: [source](./src/normal.py), [video](./videos/NormalDistribution.mp4)
- Forward Propagation: [source](./src/forward_prop.py), [video](./videos/ForwardPropagation.mp4)
- Automaton to Regular Expression: [source](./src/automaton.py), [video](./videos/AutomatonToRegex.mp4)
- Log Transformation: [source](./src/log_transform.py), [video](./videos/LogTransform.mp4)
- Euclidean Distance: [source](./src/euclidean.py), [video](./videos/EuclideanDistance.mp4)
- K-nearest neighbors: [source](./src/knn.py), [video](./videos/KNN.mp4)
- ReLU activation function: [source](./src/relu.py), [video](./videos/ReLU.mp4)
- Sigmoid activation function: [source](./src/sigmoid.py), [video](./videos/Sigmoid.mp4)
- Grid Search: [source](./src/grid_search.py), [video](./videos/GridSearch3D.mp4)

## Guide to Running Manim Animations

1. **Ensure you have Python installed.**

2. **Check Manim Dependencies**

Before proceeding, check the required dependencies for Manim on the Manim Community site:

👉 https://docs.manim.community/en/stable/installation.html

Manim requires additional programs like LaTeX for text rendering.

3. **Clone the Repository**

```bash
git clone https://github.com/kelvinleandro/manim-animations
cd manim-animations
```

4. **Create a Virtual Environment (Recommended)**

```bash
python -m venv .venv
```

- Windows:

```bash
.venv\Scripts\activate
```

- Mac/Linux:
```bash
source .venv/bin/activate
```

5. **Install Required Packages**

```bash
pip install -r requirements.txt
```

6. **Run a Manim Animation**
```bash
manim -pqm script_name.py SceneName
```