Skip to main content

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

  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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

classic_ml_tui-0.1.0.tar.gz (13.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

classic_ml_tui-0.1.0-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

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

Hashes for classic_ml_tui-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8a9b57bec38f9ef95c36549fcdb4d046eb0481ec919c3b6e54885d5cadce3fb7
MD5 eb203e7c08e14c8dfe863f6867bc2f90
BLAKE2b-256 58f088b712a1409e041362b1c98d2e9907f861617ea9f23aba46a75075d397b1

See more details on using hashes here.

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

Hashes for classic_ml_tui-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 56f280c98933c213b5a44c52b88974d4da9418c839ab31080cca043c8d289dc4
MD5 4b7a2b37dc1ed6593eed8f349760dfe6
BLAKE2b-256 38ea0766fa793dbc4b5fe4da0822363bd4fb112bd76f029edb116781602cba61

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page