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.3.tar.gz (7.0 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.3-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: oikan-0.0.1.3.tar.gz
  • Upload date:
  • Size: 7.0 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.3.tar.gz
Algorithm Hash digest
SHA256 11497d380fb644482239f4c6bfd8a18f54eca620ff444980a86e616923030311
MD5 f402a54706bf336df0768c9b7e6a5e12
BLAKE2b-256 b35d997239873fba08c66eb38980c8175c6f5af84752244cd8b8a0dce1a33008

See more details on using hashes here.

File details

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

File metadata

  • Download URL: oikan-0.0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 7.5 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 01db4eda1a575a64e758aa48bcbe9c12a8b866271feb0d9020391fac25c31116
MD5 327286dce9767ebcc7baeec9a76bc83e
BLAKE2b-256 4501795e989ffcc540531e1a8df3a7f3893c0e6acb5f10557bae0e988ca0c177

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