Metadata-Version: 2.4
Name: lazy-tfm
Version: 0.5.1
Summary: Lazy but Accurate z for Yinz: conditional distributions from tabular foundation models
Keywords: foundation model,tabular,in-context learning,probabilistic regression,conditional density estimation,photometric redshift,astronomy
Author: Biprateep Dey
Author-email: Biprateep Dey <biprateep@pitt.edu>
License-Expression: MIT
License-File: LICENSE
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Science/Research
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Scientific/Engineering :: Astronomy
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Dist: numpy>=2.0
Requires-Dist: scipy>=1.11
Requires-Dist: scikit-learn>=1.4
Requires-Dist: pandas>=2.1
Requires-Dist: matplotlib>=3.8
Requires-Dist: huggingface-hub>=0.24
Requires-Dist: h5py>=3.10
Requires-Dist: tqdm>=4.66
Requires-Dist: lazy-tfm[kumo,limix,qp,tabfm,tabicl,tabpfn] ; extra == 'all'
Requires-Dist: torch>=2.7 ; extra == 'kumo'
Requires-Dist: pyarrow ; extra == 'kumo'
Requires-Dist: safetensors ; extra == 'kumo'
Requires-Dist: huggingface-hub ; extra == 'kumo'
Requires-Dist: typing-extensions ; extra == 'kumo'
Requires-Dist: torch>=2.9.1 ; extra == 'limix'
Requires-Dist: einops>=0.8 ; extra == 'limix'
Requires-Dist: kditransform>=1.0 ; extra == 'limix'
Requires-Dist: nvtx>=0.2 ; extra == 'limix'
Requires-Dist: qp-prob>=1.1 ; extra == 'qp'
Requires-Dist: tabfm[pytorch]>=1.0.1 ; extra == 'tabfm'
Requires-Dist: safetensors>=0.4.3 ; extra == 'tabfm'
Requires-Dist: tabicl>=2.2.0 ; extra == 'tabicl'
Requires-Dist: tabpfn>=9.0.0 ; extra == 'tabpfn'
Requires-Python: >=3.12
Project-URL: Source Code, https://github.com/biprateep/lazy-tfm
Project-URL: Documentation, https://lazy-tfm.readthedocs.io
Project-URL: Bug Tracker, https://github.com/biprateep/lazy-tfm/issues
Project-URL: Changelog, https://github.com/biprateep/lazy-tfm/blob/main/CHANGELOG.md
Provides-Extra: all
Provides-Extra: kumo
Provides-Extra: limix
Provides-Extra: qp
Provides-Extra: tabfm
Provides-Extra: tabicl
Provides-Extra: tabpfn
Description-Content-Type: text/markdown

<h1 align="center">
  <picture>
    <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/biprateep/lazy-tfm/main/docs/_static/lazy-logo-white.svg">
    <img src="https://raw.githubusercontent.com/biprateep/lazy-tfm/main/docs/_static/lazy-logo.svg" alt="LAZY" width="440">
  </picture>
</h1>

**LAZY: Lazy but Accurate Z\* for Yinz** gives full conditional distributions
of a continuous target from pretrained tabular foundation models.

\*Where Z is whatever you want to predict from tabular features, such as a
redshift, a metallicity, a mass or a yield.

[![PyPI](https://img.shields.io/pypi/v/lazy-tfm)](https://pypi.org/project/lazy-tfm/)
[![Python](https://img.shields.io/pypi/pyversions/lazy-tfm)](https://pypi.org/project/lazy-tfm/)
[![Unit test and code coverage](https://github.com/biprateep/lazy-tfm/actions/workflows/testing-and-coverage.yml/badge.svg)](https://github.com/biprateep/lazy-tfm/actions/workflows/testing-and-coverage.yml)
[![Documentation](https://readthedocs.org/projects/lazy-tfm/badge/?version=latest)](https://lazy-tfm.readthedocs.io)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/biprateep/lazy-tfm/blob/main/LICENSE)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.23751881.svg)](https://doi.org/10.5281/zenodo.23751881)

LAZY is a unified, scikit-learn-compatible wrapper around several pretrained
tabular foundation models (TabPFN, TabICL, TabFM, LimiX-2 and Kumo Tabular).
The models are pretrained and never fine-tuned: we hand them labeled rows as
*context*, and they answer queries in one forward pass, with no training loop,
no hyperparameter search and no per-dataset retraining. This is the sense in
which the package is lazy.

Everything else is in the documentation at
[lazy-tfm.readthedocs.io](https://lazy-tfm.readthedocs.io): how to install
the package and each model, a quick start, the tutorials, the user guide, the
supported models with their licenses, the API reference, how to contribute or
add a backend, and how to cite LAZY. The changes in each release are in
[CHANGELOG.md](https://github.com/biprateep/lazy-tfm/blob/main/CHANGELOG.md).
