Skip to main content

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

  1. Perceptron: Binary classifier with live decision boundary visualization.
  2. Linear Regression: Predicting continuous values with optional Ridge Regularization (λ).
  3. 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:

  1. Clone the repository.
  2. Install dependencies:
    pip install -e .
    
  3. 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.

Metadata

Release files for classic-ml-tui 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for classic-ml-tui 0.1.0
File Size Uploaded
classic_ml_tui-0.1.0.tar.gz 13.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for classic-ml-tui 0.1.0
File Interpreter ABI Platform
classic_ml_tui-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 27.1 kB

Release files / classic_ml_tui-0.1.0.tar.gz

Download URL classic_ml_tui-0.1.0.tar.gz
Size 13.3 kB
Tags Source
SHA-256 checksum
How to use checksums
8a9b57bec38f9ef95c36549fcdb4d046eb0481ec919c3b6e54885d5cadce3fb7
BLAKE2b-256 checksum
How to use checksums
58f088b712a1409e041362b1c98d2e9907f861617ea9f23aba46a75075d397b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / classic_ml_tui-0.1.0-py3-none-any.whl

Download URL classic_ml_tui-0.1.0-py3-none-any.whl
Size 13.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
56f280c98933c213b5a44c52b88974d4da9418c839ab31080cca043c8d289dc4
BLAKE2b-256 checksum
How to use checksums
38ea0766fa793dbc4b5fe4da0822363bd4fb112bd76f029edb116781602cba61
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page