A modern, terminal-based interactive suite for exploring fundamental Machine Learning algorithms. Built with Textual and Plotext for a seamless, live-updating experience.
- Live Calculation: Adjust parameters (K, Learning Rate, Epochs) and see results update instantly.
- Interactive Visualizations: High-resolution terminal charts for K-Means, Linear Regression, and Perceptron.
- Multilingual: Full support for English and Spanish.
- Split-View Design: Inputs on the left, visual data on the right.
- Perceptron: Binary classifier with live decision boundary visualization.
- Linear Regression: Predicting continuous values with optional Ridge Regularization (λ).
- K-Means: Unsupervised clustering with live centroid updates.
You can now install classic-ml-tui directly via pip and run it using the dedicated command.
pip install classic-ml-tuiSimply type the following in your terminal:
clmlIf you want to run the project from source:
- Clone the repository.
- Install dependencies:
pip install -e . - Run the app:
python -m classic_ml.app
Q: Quit the application.L: Toggle between English and Spanish.I: Load the built-in Iris dataset for immediate testing.R: Reset all parameters to default values.
This project is distributed under the MIT license.
