Skip to main content

COREMat Framework

COREMat (COmputable REgression for Materials) is a Python framework for automated machine learning on tabular materials-science datasets — alloy research, materials-property prediction, and similar regression workloads. It automates the full workflow behind a single configuration: data ingestion, preprocessing, nested-CV training with hyperparameter optimisation, iterative feature selection, SHAP-based explainability, OOF/Hold-out evaluation, and interactive HTML reporting. The model registry ships 70+ algorithm variants (gradient boosting, kernel methods, linear models, neural nets, foundation models) behind a unified ModelSpec interface.


What You Get

Every trained model gets a self-contained, interactive HTML report — open it in a browser, no server or notebook required. Excerpt of what's inside:

Section What it shows
Comparison Leaderboard All models in a run ranked by weighted Skill Score (OOF, switchable to Hold-out Test)
Actual vs. Predicted Square scatter with color-by-feature and linear/log axis toggle
Residuals & Error Distribution Residuals-vs-Predicted scatter, ECDF/histogram error analysis
Round Trajectory Feature-selection score and feature count per round
SHAP / Feature Importance Per-round SHAP summary plots and contribution bars
Model Parameters Curated hyperparameters and preprocessing policy

Every report is built post-hoc from persisted per-round predictions — re-opening a report never re-runs a model.


Installation

Requirements: Python >= 3.12, < 3.13

From PyPI (recommended — available from the first public release):

pip install coremat
# or with uv:
uv pip install coremat

From the Uni Rostock GitLab Registry (alternative, requires GitLab account):

uv pip install git+https://gitlab.uni-rostock.de/cs1302/coremat.git@main

Developers (editable install):

git clone https://gitlab.uni-rostock.de/cs1302/coremat.git
cd coremat
uv venv && uv sync
source .venv/bin/activate    # Linux/macOS
.venv\Scripts\activate       # Windows

TabPFN Authentication

TabPFN models require a free PriorLabs account. Set up once after installation:

coremat auth tabpfn

Getting Started

The documentation (mkdocs) is the single source of truth for usage — it covers the full quick-start walkthrough, sample data generation, and the resulting artifact layout. Start at docs/index.md or the Minimal Run guide.


Documentation

Document Description
docs/index.md Quick-start walkthrough and installation
docs/cli_guide.md Full CLI reference — all commands, options, and examples
docs/api.md Public API reference — exported symbols and usage
docs/reference/models/index.md All 70+ registered models with preprocessing policies
docs/architecture.md Layer model, module responsibilities, dependency graph
docs/development.md Dev setup, reproducibility guide, contribution notes
docs/metrics.md Metric definitions and evaluation methodology
docs/verbose_levels.md Logging verbosity levels and output examples

Building the docs

uv add mkdocs mkdocs-material
uv run -m mkdocs serve                          # local preview at http://127.0.0.1:8000, live-reloads on edit
uv run -m mkdocs build --strict --site-dir /tmp/site  # artifact build; --strict turns broken links/nav into errors

The pages CI job runs the same --strict build as a documentation lint — GitLab Pages is not hosted on this instance, so nothing is deployed automatically. Publishing the built site/ output anywhere remains a manual step until a hosting target is chosen (see the CI/CD section in docs/development.md).


Citing COREMat

If you use COREMat in your research, please cite it. Machine-readable citation metadata is provided in CITATION.cff at the root of this repository.

Acknowledgements

This project was developed using an agentic AI-assisted workflow with Claude Code by Anthropic.

Download files

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

Source Distribution

coremat-0.10.1.tar.gz (3.2 MB view details)

Uploaded Source

Built Distribution

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

coremat-0.10.1-py3-none-any.whl (2.6 MB view details)

Uploaded Python 3

File details

Details for the file coremat-0.10.1.tar.gz.

File metadata

  • Download URL: coremat-0.10.1.tar.gz
  • Upload date:
  • Size: 3.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for coremat-0.10.1.tar.gz
Algorithm Hash digest
SHA256 ef907c921d94ca100282283525dce769e72b6069a036a9adf3b8ca91bb16f5a1
MD5 83b29ea5f067ebcd586a85eda37def96
BLAKE2b-256 3a9ff9351df205b49a0c251966dba82a2e3810dc41bba9b7048349737c6df250

See more details on using hashes here.

File details

Details for the file coremat-0.10.1-py3-none-any.whl.

File metadata

  • Download URL: coremat-0.10.1-py3-none-any.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for coremat-0.10.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8cb0d7d026f395c3397cb200ca0c4bb4e6b04799592fd0a846383ff615e3608f
MD5 050f957c624cf3152e209b31a2ee03ef
BLAKE2b-256 1a20a5d018e214ddc367a485f3be54826bcff0b1985b291db2002eeb9dadbb87

See more details on using hashes here.

Release history Release notifications | RSS feed

0.18.0

2 files

0.17.0

2 files

0.16.0

2 files

0.14.0

2 files

0.13.0

2 files

0.12.0

2 files

0.11.0

2 files

0.10.2

2 files

This release

0.10.1 This release

2 files

0.10.0

2 files

0.9.1

2 files

0.9.0

2 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