Skip to main content

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

Metadata

Release files for model-tools-ml 0.1.5

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

Source distribution (sdist)

Source distribution for model-tools-ml 0.1.5
File Size Uploaded
model_tools_ml-0.1.5.tar.gz 13.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for model-tools-ml 0.1.5
File Interpreter ABI Platform
model_tools_ml-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 25.0 kB

Release files / model_tools_ml-0.1.5.tar.gz

Download URL model_tools_ml-0.1.5.tar.gz
Size 13.3 kB
Tags Source
SHA-256 checksum
How to use checksums
7fde726883a291c5ec55c516d1ca677e60acefeb8fafa442b544e4b998c4c1a7
BLAKE2b-256 checksum
How to use checksums
8cd1f11d37ae17e4524ab79cb2b55fea0c4e22fe011d922d752500f6481e0765
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Release files / model_tools_ml-0.1.5-py3-none-any.whl

Download URL model_tools_ml-0.1.5-py3-none-any.whl
Size 11.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f569bafac3d9ceb945dd45abcf78031257ea72aa722bda401387b0e6de35f875
BLAKE2b-256 checksum
How to use checksums
a8197c9a54e7ae0d3da5ccc448d0d4bd4def4c3054f873c85c289f4b04d2a5f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

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