A terminal-based interactive machine learning tool.
Project description
Classic Machine Learning TUI
A modern, terminal-based interactive suite for exploring fundamental Machine Learning algorithms. Built with Textual and Plotext for a seamless, live-updating experience.
Features
- 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.
Algorithms Included
- 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.
Quick Start
You can now install classic-ml-tui directly via pip and run it using the dedicated command.
Installation
pip install classic-ml-tui
Running the App
Simply type the following in your terminal:
clml
Development & Local Setup
If you want to run the project from source:
- Clone the repository.
- Install dependencies:
pip install -e .
- Run the app:
python -m classic_ml.app
Controls
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.
License
This project is distributed under the MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file classic_ml_tui-0.1.0.tar.gz.
File metadata
- Download URL: classic_ml_tui-0.1.0.tar.gz
- Upload date:
- Size: 13.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a9b57bec38f9ef95c36549fcdb4d046eb0481ec919c3b6e54885d5cadce3fb7
|
|
| MD5 |
eb203e7c08e14c8dfe863f6867bc2f90
|
|
| BLAKE2b-256 |
58f088b712a1409e041362b1c98d2e9907f861617ea9f23aba46a75075d397b1
|
File details
Details for the file classic_ml_tui-0.1.0-py3-none-any.whl.
File metadata
- Download URL: classic_ml_tui-0.1.0-py3-none-any.whl
- Upload date:
- Size: 13.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56f280c98933c213b5a44c52b88974d4da9418c839ab31080cca043c8d289dc4
|
|
| MD5 |
4b7a2b37dc1ed6593eed8f349760dfe6
|
|
| BLAKE2b-256 |
38ea0766fa793dbc4b5fe4da0822363bd4fb112bd76f029edb116781602cba61
|