KAN
Implementation on how to use Kolmogorov-Arnold Networks (KANs) for classification and regression tasks.
Install / Use
/learn @team-daniel/KANREADME
Kolmogorov-Arnold Networks
Kolmogorov-Arnold Networks (KANs), inspired by the Kolmogorov-Arnold representation theorem, are promising alternatives to neural networks (NNs). KANs have activation functions on edges, whereas NNs have activation functions on nodes. This repo serves as an accessible tutorial on how to get started using KANs and comparing them directly to NN alternatives. Please see my beginner-friendly blog post.
<p align="center"> <img src="img/kan_classification.gif" alt="A Kolmogorov-Arnold Network being trained overtime." width="400"/> </p>Getting Started
All the necessary code and packages are contained within a Jupyter Notebook in this repository. Open either the classification or regression notebook and click run.
If you would like to use a GPU on colab you can change this setting by selecting Change Runtime Type -> GPU, otherwise select cpu.
If you would like to run this code locally, I am using these versions of the following packages:
torch==2.2.1+cu121
matplotlib==3.7.1
sklearn==1.2.2
moviepy==1.0.3
Files
This repository contains the following files:
KAN_classification.ipynb- A detailed Jupyter Notebook that will guide readers through how to make a KAN for classification.KAN_regression.ipynb- A detailed Jupyter Notebook that will guide readers through how to make a KAN for regression.
Related Skills
node-connect
344.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
99.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
