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.4.tar.gz
(13.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file model_tools_ml-0.1.4.tar.gz.
File metadata
- Download URL: model_tools_ml-0.1.4.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0625781a29c6dd6c6b42c951977da546fd4b9f851c1f4e31dd72c41e9f7dfef4
|
|
| MD5 |
a5ecc80f98c26a3d5377c925c96731ec
|
|
| BLAKE2b-256 |
cb152cb20a367876925d559c4c2aaef1ea3a51787229f2d73cb7d94e632f24ba
|
File details
Details for the file model_tools_ml-0.1.4-py3-none-any.whl.
File metadata
- Download URL: model_tools_ml-0.1.4-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4020e4e414cdca83fdeca7f66a40313f20e56554fa2b4ff9a34f3573148f5af7
|
|
| MD5 |
2957206feff88c8f54238ecfdb3a5e0c
|
|
| BLAKE2b-256 |
cdada7f4c6704477239e8d89aee2aba48177060a319a54246e5e54b1c183357a
|