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.5.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.

model_tools_ml-0.1.5-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: model_tools_ml-0.1.5.tar.gz
  • Upload date:
  • Size: 13.3 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.5.tar.gz
Algorithm Hash digest
SHA256 7fde726883a291c5ec55c516d1ca677e60acefeb8fafa442b544e4b998c4c1a7
MD5 f16cc0b130818643ebc701273c7c017d
BLAKE2b-256 8cd1f11d37ae17e4524ab79cb2b55fea0c4e22fe011d922d752500f6481e0765

See more details on using hashes here.

File details

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

File metadata

  • Download URL: model_tools_ml-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 11.8 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f569bafac3d9ceb945dd45abcf78031257ea72aa722bda401387b0e6de35f875
MD5 db49aa1403c5d25f767b7572046964c7
BLAKE2b-256 a8197c9a54e7ae0d3da5ccc448d0d4bd4def4c3054f873c85c289f4b04d2a5f5

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