Skip to main content

pytorch-tabr

Overview

pytorch-tabr is a Python package that provides a PyTorch wrapper implementation of TabR, a deep learning model for tabular data. The original implementation can be found here: TabR: Unlocking the Power of Retrieval-Augmented Tabular Deep Learning This package allows for easy and efficient modeling of both classification and regression tasks using tabular data. It includes support for various kinds of embeddings and customizations to cater to different types of tabular datasets.

Features

  • TabR Model: Core deep learning model for tabular data.
  • Classification and Regression: Support for both classification (TabRClassifier) and regression (TabRRegressor) tasks.
  • Custom Embeddings: Supports categorical, numerical, and other types of embeddings.
  • Efficient Handling of Data: Efficient data loaders and utilities for handling tabular data.

Installation

pip install pytorch-tabr

Usage

Basic example

from pytorch_tabr import TabRClassifier, TabRRegressor

# For a classification task
classifier = TabRClassifier(cat_indices=[0, 2], cat_cardinalities=[3, 5])
# Training and prediction...

# For a regression task
regressor = TabRRegressor(cat_indices=[1, 3], cat_cardinalities=[4, 2])
# Training and prediction...

API Overview

  • TabRClassifier: Model for classification tasks.
  • TabRRegressor: Model for regression tasks.
  • TabR: Base module implementing the TabR architecture.

Metadata

Release files for pytorch-tabr 0.1.0

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

Source distribution (sdist)

Source distribution for pytorch-tabr 0.1.0
File Size Uploaded Provenance Actions
pytorch_tabr-0.1.0.tar.gz 25.0 kB Without provenance Details for pytorch_tabr-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pytorch-tabr 0.1.0
File Interpreter ABI Platform Actions
pytorch_tabr-0.1.0-py3-none-any.whl Python 3 none any Details for pytorch_tabr-0.1.0-py3-none-any.whl

Total release size: 52.6 kB

Release files / pytorch_tabr-0.1.0.tar.gz

Download URL pytorch_tabr-0.1.0.tar.gz
Size 25.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a2ddb381395ddf1f9da583c4d268e650c540d0046c4f3bd99708d71ae28c936a
BLAKE2b-256 checksum
How to use checksums
de0205300db8d3c268cb0543d2a520fca1aa101cec9afe01c018abe4aefd477d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.1 CPython/3.8.5 Linux/5.4.72-microsoft-standard-WSL2

Release files / pytorch_tabr-0.1.0-py3-none-any.whl

Download URL pytorch_tabr-0.1.0-py3-none-any.whl
Size 27.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2cca4a6684526ae9775e710d8da9d49c6b5d0f2b10e715e0fc0a07d1b97f82ae
BLAKE2b-256 checksum
How to use checksums
b22341d768c3ad5a426661f4c864babe5c0559f7ea86459c925a2c67ac3cea63
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.1 CPython/3.8.5 Linux/5.4.72-microsoft-standard-WSL2

Security for pytorch-tabr 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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