Skip to main content

Diagnostics, analysis, and visualization for ML model development

Project description

Model Tools

Diagnostics, analysis, and visualization for ML model development.

Purpose

This package provides utilities used across model sub-projects:

  • analysis — Chain-length analysis, metrics computation
  • viz — Training curves, market plots (OHLCV, peaks, volume)
  • io — Thin wrappers around homebrewlibra I/O

What is NOT here:

  • Data preparation (sliding window, standardize, split) → data-prep
  • Model-specific tensor loading → model-core

Installation

# From PyPI
pip install model-tools-ml

# Editable (local)
pip install -e .

# With tests
pip install -e ".[tests]"

# From GitHub
pip install git+https://github.com/Alex-Glebov/model-tools.git

Package Structure

model_tools/
├── analysis/      # Chain analysis, metrics
│   └── analyze_chains.py
├── viz/           # Visualization
│   ├── plot_metrics.py
│   ├── plot_price_peaks.py
│   └── market_plots.py
└── io/            # I/O wrappers (homebrewlibra)

Usage

import model_tools
print(model_tools.__version__)  # 0.1.3

# Analysis
from model_tools.analysis import analyze_all_chains
min_len, max_len, mean_len, all_lengths = analyze_all_chains(data_path)

# Visualization
from model_tools.viz import plot_training_history
plot_training_history(config_path)

Tests

pytest tests/ -v

Version

0.1.3 — defined in pyproject.toml.

Author

Alex & Claude python@iitsp.com.au

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

model_tools_ml-0.1.3.tar.gz (13.2 kB view details)

Uploaded Source

Built Distribution

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

model_tools_ml-0.1.3-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

Details for the file model_tools_ml-0.1.3.tar.gz.

File metadata

  • Download URL: model_tools_ml-0.1.3.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for model_tools_ml-0.1.3.tar.gz
Algorithm Hash digest
SHA256 9b3e12fdd483272e23317b8e76ceac26e0ec1954ec83975ebab32557a39cfdbc
MD5 d47bf2073a07dee5cf242169e4af2e53
BLAKE2b-256 244325cf6c11e3e7dc83b2ea7d6f69526dfcac2c84ee8618b5e0089a4895ffbc

See more details on using hashes here.

File details

Details for the file model_tools_ml-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: model_tools_ml-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 11.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for model_tools_ml-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 28457142ab64c84c792918be393e93229640c1cb116dbf592d839bb147d328a4
MD5 45ddf054b9066eaf3cb62989b887a6ba
BLAKE2b-256 03da6fe33a04edb5f8ab7583238af079a69b36ad1d0ec45ef298f1b3b569c3e4

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