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.1.tar.gz (3.5 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.1-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: oikan-0.0.1.1.tar.gz
  • Upload date:
  • Size: 3.5 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.1.tar.gz
Algorithm Hash digest
SHA256 6e96cfa18f895195adb1e02790e6a652965412b6435308806b12647b79ed9c01
MD5 024a0c1729a4b9a7eb11c177dbc677d4
BLAKE2b-256 60d3051f1bdfdda4be92d82c61bc0326a37f5a26ca253623a3eae236feddfbc4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: oikan-0.0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.2 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 79777ea1d5d7ce2fb46139146bb8c2de3e769f5e52e1107724bf774480c1a314
MD5 6f55b5dad4d7a9b329a44ac3bd0e4cbe
BLAKE2b-256 c0cb1ed46e3f0a369c0fbebeb430b6e274cd95aacf7aeb2b616c67c38851cd92

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