From a9a2a63b382ce17bcfc84b5a438e68caec8a3d7c Mon Sep 17 00:00:00 2001 From: Anton Thielmann <51477933+AFThielmann@users.noreply.github.com> Date: Tue, 18 Nov 2025 16:38:00 +0100 Subject: [PATCH 1/3] rename to deeptab --- .github/ISSUE_TEMPLATE/bug_report.md | 2 +- .github/workflows/pr-tests.yml | 2 +- README.md | 68 +- {deeptabular => deeptab}/__init__.py | 0 {deeptabular => deeptab}/__version__.py | 0 .../arch_utils/__init__.py | 0 .../arch_utils/cnn_utils.py | 0 .../arch_utils/data_aware_initialization.py | 0 .../arch_utils/enode_utils.py | 0 .../arch_utils/get_norm_fn.py | 98 +- .../arch_utils/layer_utils/__init__.py | 0 .../layer_utils/attention_net_arch_utils.py | 0 .../arch_utils/layer_utils/attention_utils.py | 0 .../layer_utils/batch_ensemble_layer.py | 0 .../arch_utils/layer_utils/block_diagonal.py | 0 .../arch_utils/layer_utils/embedding_layer.py | 0 .../arch_utils/layer_utils/embedding_tree.py | 0 .../arch_utils/layer_utils/importance.py | 0 .../layer_utils/invariance_layer.py | 0 .../layer_utils/normalization_layers.py | 298 ++-- .../arch_utils/layer_utils/plr_layer.py | 0 .../arch_utils/layer_utils/poly_layer.py | 0 .../arch_utils/layer_utils/rotary_utils.py | 0 .../arch_utils/layer_utils/sn_linear.py | 54 +- .../arch_utils/layer_utils/sparsemax.py | 0 .../arch_utils/learnable_ple.py | 0 .../arch_utils/lstm_utils.py | 0 .../arch_utils/mamba_utils/__init__.py | 0 .../arch_utils/mamba_utils/init_weights.py | 56 +- .../arch_utils/mamba_utils/mamba_arch.py | 1102 +++++++------- .../arch_utils/mamba_utils/mamba_original.py | 426 +++--- .../arch_utils/mamba_utils/mambattn_arch.py | 234 +-- .../arch_utils/mlp_utils.py | 0 .../arch_utils/neural_decision_tree.py | 0 .../arch_utils/node_utils.py | 0 .../arch_utils/numpy_utils.py | 0 .../arch_utils/resnet_utils.py | 0 .../arch_utils/rnn_utils.py | 548 +++---- .../arch_utils/simple_utils.py | 0 .../arch_utils/transformer_utils.py | 0 .../arch_utils/trompt_utils.py | 0 .../base_models/__init__.py | 0 .../base_models/autoint.py | 0 {deeptabular => deeptab}/base_models/enode.py | 0 .../base_models/ft_transformer.py | 0 .../base_models/mambatab.py | 0 .../base_models/mambattn.py | 264 ++-- .../base_models/mambular.py | 0 {deeptabular => deeptab}/base_models/mlp.py | 0 .../base_models/modern_nca.py | 0 {deeptabular => deeptab}/base_models/ndtf.py | 0 {deeptabular => deeptab}/base_models/node.py | 0 .../base_models/resnet.py | 0 {deeptabular => deeptab}/base_models/saint.py | 0 {deeptabular => deeptab}/base_models/tabm.py | 0 {deeptabular => deeptab}/base_models/tabr.py | 980 ++++++------ .../base_models/tabtransformer.py | 0 .../base_models/tabularnn.py | 158 +- .../base_models/tangos.py | 0 .../base_models/trompt.py | 0 .../base_models/utils/__init__.py | 0 .../base_models/utils/basemodel.py | 0 .../base_models/utils/lightning_wrapper.py | 0 .../base_models/utils/pretraining.py | 0 {deeptabular => deeptab}/configs/__init__.py | 78 +- .../configs/autoint_config.py | 0 .../configs/base_config.py | 0 .../configs/enode_config.py | 0 .../configs/fttransformer_config.py | 0 .../configs/mambatab_config.py | 0 .../configs/mambattention_config.py | 252 ++-- .../configs/mambular_config.py | 0 .../configs/mlp_config.py | 0 .../configs/modernnca_config.py | 0 .../configs/ndtf_config.py | 0 .../configs/node_config.py | 0 .../configs/resnet_config.py | 0 .../configs/saint_config.py | 0 .../configs/tabm_config.py | 0 .../configs/tabr_config.py | 74 +- .../configs/tabtransformer_config.py | 0 .../configs/tabularnn_config.py | 168 +-- .../configs/tangos_config.py | 0 .../configs/trompt_config.py | 0 .../data_utils/__init__.py | 0 .../data_utils/datamodule.py | 0 .../data_utils/dataset.py | 0 {deeptabular => deeptab}/models/__init__.py | 0 {deeptabular => deeptab}/models/autoint.py | 6 +- {deeptabular => deeptab}/models/enode.py | 6 +- .../models/fttransformer.py | 6 +- {deeptabular => deeptab}/models/mambatab.py | 0 .../models/mambattention.py | 144 +- {deeptabular => deeptab}/models/mambular.py | 6 +- {deeptabular => deeptab}/models/mlp.py | 6 +- {deeptabular => deeptab}/models/modern_nca.py | 6 +- {deeptabular => deeptab}/models/ndtf.py | 0 {deeptabular => deeptab}/models/node.py | 6 +- {deeptabular => deeptab}/models/resnet.py | 6 +- {deeptabular => deeptab}/models/saint.py | 6 +- {deeptabular => deeptab}/models/tabm.py | 6 +- {deeptabular => deeptab}/models/tabr.py | 126 +- .../models/tabtransformer.py | 6 +- {deeptabular => deeptab}/models/tabularnn.py | 266 ++-- {deeptabular => deeptab}/models/tangos.py | 6 +- {deeptabular => deeptab}/models/trompt.py | 6 +- .../models/utils/__init__.py | 0 .../models/utils/sklearn_base_classifier.py | 0 .../models/utils/sklearn_base_lss.py | 0 .../models/utils/sklearn_base_regressor.py | 0 .../models/utils/sklearn_parent.py | 0 {deeptabular => deeptab}/utils/__init__.py | 0 .../utils/config_mapper.py | 282 ++-- .../utils/distributional_metrics.py | 0 .../utils/distributions.py | 1340 ++++++++--------- .../utils/docstring_generator.py | 0 .../utils/get_feature_dimensions.py | 0 docs/api/base_models/BaseModels.rst | 18 +- docs/api/configs/index.rst | 4 +- docs/api/data_utils/Datautils.rst | 6 +- docs/api/data_utils/index.rst | 2 +- docs/conf.py | 6 +- docs/examples/classification.md | 4 +- docs/examples/distributional.rst | 2 +- docs/examples/regression.rst | 2 +- docs/homepage.md | 54 +- docs/installation.md | 8 +- docs/release.md | 8 +- pyproject.toml | 14 +- tests/test_base.py | 8 +- tests/test_configs.py | 8 +- 131 files changed, 3621 insertions(+), 3621 deletions(-) rename {deeptabular => deeptab}/__init__.py (100%) rename {deeptabular => deeptab}/__version__.py (100%) rename {deeptabular => deeptab}/arch_utils/__init__.py (100%) rename {deeptabular => deeptab}/arch_utils/cnn_utils.py (100%) rename {deeptabular => deeptab}/arch_utils/data_aware_initialization.py (100%) rename {deeptabular => deeptab}/arch_utils/enode_utils.py (100%) rename {deeptabular => deeptab}/arch_utils/get_norm_fn.py (96%) rename {deeptabular => deeptab}/arch_utils/layer_utils/__init__.py (100%) rename {deeptabular => deeptab}/arch_utils/layer_utils/attention_net_arch_utils.py (100%) rename {deeptabular => deeptab}/arch_utils/layer_utils/attention_utils.py (100%) rename {deeptabular => deeptab}/arch_utils/layer_utils/batch_ensemble_layer.py (100%) rename {deeptabular => deeptab}/arch_utils/layer_utils/block_diagonal.py (100%) rename {deeptabular => deeptab}/arch_utils/layer_utils/embedding_layer.py (100%) rename {deeptabular => deeptab}/arch_utils/layer_utils/embedding_tree.py (100%) rename {deeptabular => deeptab}/arch_utils/layer_utils/importance.py (100%) rename {deeptabular => deeptab}/arch_utils/layer_utils/invariance_layer.py (100%) rename {deeptabular => deeptab}/arch_utils/layer_utils/normalization_layers.py (97%) rename {deeptabular => deeptab}/arch_utils/layer_utils/plr_layer.py (100%) rename {deeptabular => deeptab}/arch_utils/layer_utils/poly_layer.py (100%) rename {deeptabular => deeptab}/arch_utils/layer_utils/rotary_utils.py (100%) rename {deeptabular => deeptab}/arch_utils/layer_utils/sn_linear.py (97%) rename {deeptabular => deeptab}/arch_utils/layer_utils/sparsemax.py (100%) rename {deeptabular => deeptab}/arch_utils/learnable_ple.py (100%) rename {deeptabular => deeptab}/arch_utils/lstm_utils.py (100%) rename {deeptabular => deeptab}/arch_utils/mamba_utils/__init__.py (100%) rename {deeptabular => deeptab}/arch_utils/mamba_utils/init_weights.py (96%) rename {deeptabular => deeptab}/arch_utils/mamba_utils/mamba_arch.py (97%) rename {deeptabular => deeptab}/arch_utils/mamba_utils/mamba_original.py (97%) rename {deeptabular => deeptab}/arch_utils/mamba_utils/mambattn_arch.py (97%) rename {deeptabular => deeptab}/arch_utils/mlp_utils.py (100%) rename {deeptabular => deeptab}/arch_utils/neural_decision_tree.py (100%) rename {deeptabular => deeptab}/arch_utils/node_utils.py (100%) rename {deeptabular => deeptab}/arch_utils/numpy_utils.py (100%) rename {deeptabular => deeptab}/arch_utils/resnet_utils.py (100%) rename {deeptabular => deeptab}/arch_utils/rnn_utils.py (97%) rename {deeptabular => deeptab}/arch_utils/simple_utils.py (100%) rename {deeptabular => deeptab}/arch_utils/transformer_utils.py (100%) rename {deeptabular => deeptab}/arch_utils/trompt_utils.py (100%) rename {deeptabular => deeptab}/base_models/__init__.py (100%) rename {deeptabular => deeptab}/base_models/autoint.py (100%) rename {deeptabular => deeptab}/base_models/enode.py (100%) rename {deeptabular => deeptab}/base_models/ft_transformer.py (100%) rename {deeptabular => deeptab}/base_models/mambatab.py (100%) rename {deeptabular => deeptab}/base_models/mambattn.py (97%) rename {deeptabular => deeptab}/base_models/mambular.py (100%) rename {deeptabular => deeptab}/base_models/mlp.py (100%) rename {deeptabular => deeptab}/base_models/modern_nca.py (100%) rename {deeptabular => deeptab}/base_models/ndtf.py (100%) rename {deeptabular => deeptab}/base_models/node.py (100%) rename {deeptabular => deeptab}/base_models/resnet.py (100%) rename {deeptabular => deeptab}/base_models/saint.py (100%) rename {deeptabular => deeptab}/base_models/tabm.py (100%) rename {deeptabular => deeptab}/base_models/tabr.py (97%) rename {deeptabular => deeptab}/base_models/tabtransformer.py (100%) rename {deeptabular => deeptab}/base_models/tabularnn.py (96%) rename {deeptabular => deeptab}/base_models/tangos.py (100%) rename {deeptabular => deeptab}/base_models/trompt.py (100%) rename {deeptabular => deeptab}/base_models/utils/__init__.py (100%) rename {deeptabular => deeptab}/base_models/utils/basemodel.py (100%) rename {deeptabular => deeptab}/base_models/utils/lightning_wrapper.py (100%) rename {deeptabular => deeptab}/base_models/utils/pretraining.py (100%) rename {deeptabular => deeptab}/configs/__init__.py (97%) rename {deeptabular => deeptab}/configs/autoint_config.py (100%) rename {deeptabular => deeptab}/configs/base_config.py (100%) rename {deeptabular => deeptab}/configs/enode_config.py (100%) rename {deeptabular => deeptab}/configs/fttransformer_config.py (100%) rename {deeptabular => deeptab}/configs/mambatab_config.py (100%) rename {deeptabular => deeptab}/configs/mambattention_config.py (97%) rename {deeptabular => deeptab}/configs/mambular_config.py (100%) rename {deeptabular => deeptab}/configs/mlp_config.py (100%) rename {deeptabular => deeptab}/configs/modernnca_config.py (100%) rename {deeptabular => deeptab}/configs/ndtf_config.py (100%) rename {deeptabular => deeptab}/configs/node_config.py (100%) rename {deeptabular => deeptab}/configs/resnet_config.py (100%) rename {deeptabular => deeptab}/configs/saint_config.py (100%) rename {deeptabular => deeptab}/configs/tabm_config.py (100%) rename {deeptabular => deeptab}/configs/tabr_config.py (96%) rename {deeptabular => deeptab}/configs/tabtransformer_config.py (100%) rename {deeptabular => deeptab}/configs/tabularnn_config.py (97%) rename {deeptabular => deeptab}/configs/tangos_config.py (100%) rename {deeptabular => deeptab}/configs/trompt_config.py (100%) rename {deeptabular => deeptab}/data_utils/__init__.py (100%) rename {deeptabular => deeptab}/data_utils/datamodule.py (100%) rename {deeptabular => deeptab}/data_utils/dataset.py (100%) rename {deeptabular => deeptab}/models/__init__.py (100%) rename {deeptabular => deeptab}/models/autoint.py (92%) rename {deeptabular => deeptab}/models/enode.py (93%) rename {deeptabular => deeptab}/models/fttransformer.py (92%) rename {deeptabular => deeptab}/models/mambatab.py (100%) rename {deeptabular => deeptab}/models/mambattention.py (95%) rename {deeptabular => deeptab}/models/mambular.py (92%) rename {deeptabular => deeptab}/models/mlp.py (93%) rename {deeptabular => deeptab}/models/modern_nca.py (92%) rename {deeptabular => deeptab}/models/ndtf.py (100%) rename {deeptabular => deeptab}/models/node.py (93%) rename {deeptabular => deeptab}/models/resnet.py (92%) rename {deeptabular => deeptab}/models/saint.py (92%) rename {deeptabular => deeptab}/models/tabm.py (93%) rename {deeptabular => deeptab}/models/tabr.py (90%) rename {deeptabular => deeptab}/models/tabtransformer.py (92%) rename {deeptabular => deeptab}/models/tabularnn.py (95%) rename {deeptabular => deeptab}/models/tangos.py (92%) rename {deeptabular => deeptab}/models/trompt.py (92%) rename {deeptabular => deeptab}/models/utils/__init__.py (100%) rename {deeptabular => deeptab}/models/utils/sklearn_base_classifier.py (100%) rename {deeptabular => deeptab}/models/utils/sklearn_base_lss.py (100%) rename {deeptabular => deeptab}/models/utils/sklearn_base_regressor.py (100%) rename {deeptabular => deeptab}/models/utils/sklearn_parent.py (100%) rename {deeptabular => deeptab}/utils/__init__.py (100%) rename {deeptabular => deeptab}/utils/config_mapper.py (97%) rename {deeptabular => deeptab}/utils/distributional_metrics.py (100%) rename {deeptabular => deeptab}/utils/distributions.py (97%) rename {deeptabular => deeptab}/utils/docstring_generator.py (100%) rename {deeptabular => deeptab}/utils/get_feature_dimensions.py (100%) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index acc60370..01d6fe0f 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -22,7 +22,7 @@ If applicable, add screenshots to help explain your problem. **Desktop (please complete the following information):** - OS: [e.g. Ubuntu] - Python version [e.g. 3.8] - - DeepTabular Version [e.g. 1.6.0] + - deeptab Version [e.g. 1.6.0] **Additional context** Add any other context about the problem here. diff --git a/.github/workflows/pr-tests.yml b/.github/workflows/pr-tests.yml index ba39542f..b135f3ea 100644 --- a/.github/workflows/pr-tests.yml +++ b/.github/workflows/pr-tests.yml @@ -42,7 +42,7 @@ jobs: - name: Install Package Locally run: | poetry build - pip install dist/*.whl # Install the built package to fix "No module named 'deeptabular'" + pip install dist/*.whl # Install the built package to fix "No module named 'deeptab'" - name: Run Unit Tests env: diff --git a/README.md b/README.md index 70651f57..91c51465 100644 --- a/README.md +++ b/README.md @@ -2,24 +2,24 @@ -[![PyPI](https://img.shields.io/pypi/v/deeptabular)](https://pypi.org/project/deeptabular) -![PyPI - Downloads](https://img.shields.io/pypi/dm/deeptabular) -[![docs build](https://readthedocs.org/projects/deeptabular/badge/?version=latest)](https://deeptabular.readthedocs.io/en/latest/?badge=latest) -[![docs](https://img.shields.io/badge/docs-latest-blue)](https://deeptabular.readthedocs.io/en/latest/) -[![open issues](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/OpenTabular/DeepTabular/issues) +[![PyPI](https://img.shields.io/pypi/v/deeptab)](https://pypi.org/project/deeptab) +![PyPI - Downloads](https://img.shields.io/pypi/dm/deeptab) +[![docs build](https://readthedocs.org/projects/deeptab/badge/?version=latest)](https://deeptab.readthedocs.io/en/latest/?badge=latest) +[![docs](https://img.shields.io/badge/docs-latest-blue)](https://deeptab.readthedocs.io/en/latest/) +[![open issues](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/OpenTabular/deeptab/issues) -[📘Documentation](https://deeptabular.readthedocs.io/en/latest/index.html) | -[🛠️Installation](https://deeptabular.readthedocs.io/en/latest/installation.html) | -[Models](https://deeptabular.readthedocs.io/en/latest/api/models/index.html) | -[🤔Report Issues](https://github.com/OpenTabular/DeepTabular/issues) +[📘Documentation](https://deeptab.readthedocs.io/en/latest/index.html) | +[🛠️Installation](https://deeptab.readthedocs.io/en/latest/installation.html) | +[Models](https://deeptab.readthedocs.io/en/latest/api/models/index.html) | +[🤔Report Issues](https://github.com/OpenTabular/deeptab/issues)
-

DeepTabular: Tabular Deep Learning Made Simple

+

deeptab: Tabular Deep Learning Made Simple

-DeepTabular is a Python library for tabular deep learning. It includes models that leverage the Mamba (State Space Model) architecture, as well as other popular models like TabTransformer, FTTransformer, TabM and tabular ResNets. Check out our paper `Mambular: A Sequential Model for Tabular Deep Learning`, available [here](https://arxiv.org/abs/2408.06291). Also check out our paper introducing [TabulaRNN](https://arxiv.org/pdf/2411.17207) and analyzing the efficiency of NLP inspired tabular models. +deeptab is a Python library for tabular deep learning. It includes models that leverage the Mamba (State Space Model) architecture, as well as other popular models like TabTransformer, FTTransformer, TabM and tabular ResNets. Check out our paper `Mambular: A Sequential Model for Tabular Deep Learning`, available [here](https://arxiv.org/abs/2408.06291). Also check out our paper introducing [TabulaRNN](https://arxiv.org/pdf/2411.17207) and analyzing the efficiency of NLP inspired tabular models.

⚡ What's New ⚡