Skip to main content

Kolmogorov Arnold Networks

Project description

kan_plot

Kolmogorov-Arnold Newtworks (KANs)

This the github repo for the paper "KAN: Kolmogorov-Arnold Networks" [link]. The documentation can be found here [link].

Kolmogorov-Arnold Networks (KANs) are promising alternatives of Multi-Layer Perceptrons (MLPs). KANs have strong mathematical foundations just like MLPs: MLPs are based on the universal approximation theorem, while KANs are based on Kolmogorov-Arnold representation theorem. KANs and MLPs are dual: KANs have activation functions on edges, while MLPs have activation functions on nodes. This simple change makes KANs better (sometimes much better!) than MLPs in terms of both model accuracy and interpretability.

mlp_kan_compare

Installation

There are two ways to install pykan, through pypi or github.

Installation via github

git clone https://github.com/KindXiaoming/pykan.git
cd pykan
pip install -e .

Installation via pypi (soon)

pip install pykan

To install requirements:

pip install -r requirements.txt

Documentation

The documenation can be found here [].

Tutorials

Quickstart

Get started with hellokan.ipynb notebook

More demos

Jupyter Notebooks in docs/Examples and docs/API_demo are ready to play. You may also find these examples in documentation.

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

pykan-0.0.1.tar.gz (28.3 kB view details)

Uploaded Source

Built Distribution

pykan-0.0.1-py3-none-any.whl (29.4 kB view details)

Uploaded Python 3

File details

Details for the file pykan-0.0.1.tar.gz.

File metadata

  • Download URL: pykan-0.0.1.tar.gz
  • Upload date:
  • Size: 28.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for pykan-0.0.1.tar.gz
Algorithm Hash digest
SHA256 c9c87ed703b91309b49209028dbe1576c5bfe17696b7f9e45e20e0f2d859b9bc
MD5 af27a6f811482d10d186916c2e1cf53f
BLAKE2b-256 b8c81e987977a975bd228506f0e02debe90eba13edc438eb5cd5d6cfdd5ab8a9

See more details on using hashes here.

File details

Details for the file pykan-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: pykan-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 29.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for pykan-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4d4313a754206465324d470dba2c8affd86e0c41e949896944505e5443141ee2
MD5 077c8bb9b039e436094101f4b0e0ea58
BLAKE2b-256 478989c38e665a4727d442e5d71c433ca73d6a6e575cf74f8250f1abc7c3b279

See more details on using hashes here.

Supported by

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