Skip to main content

OIKAN: Optimized Interpretable Kolmogorov-Arnold Networks

Project description

OIKAN Library

PyPI version PyPI downloads

OIKAN (Optimized Implementation of Kolmogorov-Arnold Networks) is a PyTorch-based library for creating interpretable neural networks. It implements the KAN architecture to provide both accurate predictions and interpretable results.

Key Features

  • EfficientKAN layer implementation
  • Built-in visualization tools
  • Support for both regression and classification tasks
  • Symbolic formula extraction
  • Easy-to-use training interface

Installation

git clone https://github.com/silvermete0r/OIKAN.git
cd OIKAN
pip install -e .  # Install in development mode

Quick Start

Regression Example

from oikan.model import OIKAN
from oikan.trainer import train

# Create and train model
model = OIKAN(input_dim=2, output_dim=1)
train(model, train_loader)

# Extract interpretable formula
formula = extract_symbolic_formula_regression(model, X)

Classification Example

model = OIKAN(input_dim=2, output_dim=2)
train_classification(model, train_loader)
visualize_classification(model, X, y)

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

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

oikan-0.0.1.2.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

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

oikan-0.0.1.2-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file oikan-0.0.1.2.tar.gz.

File metadata

  • Download URL: oikan-0.0.1.2.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.13

File hashes

Hashes for oikan-0.0.1.2.tar.gz
Algorithm Hash digest
SHA256 d82094f86380bb33cc445152faeb6fff7cd2fdd0f648d764a64314202c06ba42
MD5 9e99000945f0e47b4598d4a9e4a35c01
BLAKE2b-256 2084ab6eb48d5d90c9bd4e81c4e565d00cb84364857b6364eef5dd9ac9271c9f

See more details on using hashes here.

File details

Details for the file oikan-0.0.1.2-py3-none-any.whl.

File metadata

  • Download URL: oikan-0.0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.13

File hashes

Hashes for oikan-0.0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 88b7ee9bd2a8eb9c97ea12491715049d9dff57f9b2464d658198e8860b811fec
MD5 0a6582c3016c99850796524aea51d7d3
BLAKE2b-256 dcc88d99b2dcffb8baafb4bd9123b2cd88a670c07f66a786927da29992b61dd8

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