Skip to main content

TabKAN: A Framework for Advancing Tabular Data Analysis using Kolmogorov-Arnold Networks

Project description

===== ./README.md =====

TabKAN: Advancing Tabular Data Analysis using Kolmogorov-Arnold Networks

PyPI version License: MIT Python 3.9+

TabKAN is a Python framework that implements a family of Kolmogorov-Arnold Network (KAN) based architectures specifically designed for tabular data analysis. This library is the official implementation of the research paper: TabKAN: Advancing Tabular Data Analysis using Kolmogorov-Arnold Network.

Traditional deep learning models often struggle to outperform tree-based methods like XGBoost on structured data. TabKAN bridges this gap by leveraging the expressive power of KANs, which use learnable activation functions on the edges of the neural network instead of fixed activations on the nodes.

This library provides a unified API for various KAN variants, making it easy to experiment, train, and evaluate state-of-the-art models for tabular tasks.

Key Features

  • Multiple KAN Variants: Includes implementations and wrappers for:
    • ChebyshevKAN: Uses Chebyshev polynomials for function approximation.
    • FourierKAN: Uses Fourier series for capturing periodic patterns.
    • SplineKAN: The original KAN architecture based on B-splines (via kan-python).
    • Rational KANs: JacobiKAN and PadeKAN for modeling complex rational functions (via rkan).
    • FractionalKAN: Utilizes fractional-order Jacobi functions for enhanced flexibility (via fkan).
  • Advanced Architectures: A generic and powerful KANMixer architecture that replaces MLPs in a Mixer design with any KAN layer, enhancing expressivity.
  • Unified and Simple API: All models inherit from a base KAN class, providing consistent .fit() and .tune() methods.
  • Built-in Hyperparameter Tuning: Seamlessly find the best model architecture using an integrated Optuna-based tuner.
  • Model Interpretability: Includes methods like .get_feature_importance() for ChebyshevKAN and FourierKAN, as described in the paper.

Installation

You can install TabKAN directly from PyPI:

pip install tabkan

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

tabkan-1.0.0.tar.gz (11.2 kB view details)

Uploaded Source

Built Distribution

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

tabkan-1.0.0-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file tabkan-1.0.0.tar.gz.

File metadata

  • Download URL: tabkan-1.0.0.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for tabkan-1.0.0.tar.gz
Algorithm Hash digest
SHA256 7a6a77368e193569a626569903d72135e9193b65cff6a56faeb351187a5190a8
MD5 9d92f93a65891489d7b322778b0ebfef
BLAKE2b-256 64767cc0f74d67de648fb5565daca126b53648fb3bd83d735e02a396468477b1

See more details on using hashes here.

File details

Details for the file tabkan-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: tabkan-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 11.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for tabkan-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a6428f7b441c02fd75f149d2690af1df7f94642f874b69c602d2b3471381093f
MD5 c563db0ae33a4898948e918fea604138
BLAKE2b-256 9c311767e1594cb76f31f23a9bf4ce5b98fa8982fcadb01537fb3e5d528f10ac

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