Skip to main content

Dual-Attention Neural Networks for tabular data classification and regression

Project description

DANet Pipeline

A PyTorch-based deep learning pipeline for tabular data classification and regression, featuring Dual-Attention Networks (DANet) with feature-wise self-attention and optional sample-wise attention mechanisms.

Features

  • Dual-Attention Architecture: Feature-level self-attention for learning complex feature interactions, plus optional sample-level attention
  • End-to-End Pipeline: Handles preprocessing (scaling, encoding), training, evaluation, hyperparameter tuning, and model persistence
  • Hyperparameter Optimization: Built-in Optuna integration with Bayesian optimization and early pruning
  • Production Ready: Save/load full pipelines with preprocessing artifacts, reproducible training with seed control
  • Extensible Design: Abstract base class makes it easy to add new task types (regression, binary/multiclass classification)

Installation

pip install dantabnn

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

dantabnn-0.1.1.tar.gz (19.5 kB view details)

Uploaded Source

Built Distribution

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

dantabnn-0.1.1-py3-none-any.whl (21.8 kB view details)

Uploaded Python 3

File details

Details for the file dantabnn-0.1.1.tar.gz.

File metadata

  • Download URL: dantabnn-0.1.1.tar.gz
  • Upload date:
  • Size: 19.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for dantabnn-0.1.1.tar.gz
Algorithm Hash digest
SHA256 06db48badcc22402dd55e938dcd897695cdde830eeec653c7883d570d8dd29be
MD5 b95f307e2f5c5e4fc2031f6fa02da857
BLAKE2b-256 6ab66f53ffb33df27997ff7cd48962c764c46e0a7a7d8334516f06e5dd297c62

See more details on using hashes here.

File details

Details for the file dantabnn-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: dantabnn-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 21.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for dantabnn-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 742a5deaf2650d8817d8224761d8907c5a1eee19f59369d75eb88b9ec6275a77
MD5 9639414fd00831a79be8afbb4b0e2a53
BLAKE2b-256 0314bc03c34bb5a7f4822a62f8b148e16a7fc4748cb24cf6f172b66cdc477ac8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page