pykan icon indicating copy to clipboard operation
pykan copied to clipboard

Kolmogorov Arnold Networks

Results 336 pykan issues
Sort by recently updated
recently updated
newest added

https://github.com/akaashdash/kansformers

[https://github.com/StarostinV/convkan](https://github.com/StarostinV/convkan) A basic yet efficient (thanks to [efficient-kan](https://github.com/Blealtan/efficient-kan/)) implementation of the convolutional operation with KAN implemented using [F.unfold](https://pytorch.org/docs/stable/generated/torch.nn.functional.unfold.html).

I met the issue that for GPU version the tensors are different devices, cuda:0 and cpu! The detail was shown below. description: 0%| | 0/20 [00:00

This is the original drawing ![1](https://github.com/KindXiaoming/pykan/assets/102242244/9403a47e-0fa4-4c0e-8a42-abc4b6780976) This is my drawing ![image](https://github.com/KindXiaoming/pykan/assets/102242244/c3a7fdcb-80c7-4ac8-b0eb-cf36cb2ad73e) As you can see, the spline of my graph and the result of the original graph seem to be...

When I first demonstrated using Kan for a demo, the actual execution of the code was not the same as in the sample. I found that when constructing nodes, some...

https://gist.github.com/AlessandroFlati/a4f5d23864bca30f2b96c1052efdc140

I know this could look unfeasible on a first look, but do we have some way to prevent the B-Splines to generate "biased" form? Let's say that ```final_model.symbolic_formula(simplify=False)[0][0]``` reports ```...

input is tensor([[ 0.0000, -0.2120], [ 0.0000, -0.0247], [ 0.0000, 0.2150], ..., [ 0.0000, 0.7221], [ 0.0000, -0.6781], [ 0.0000, 0.3832]], dtype=torch.float64); model = KAN(width=[2,3,1], grid=3, k=3) train loss: 5.90e-01...

1. Nodes cannot directly fit multiplication and division operations; nodes can only use addition and subtraction. 2. When using the model, it is not possible to restrict the activation functions...

Notice that you present the classification problem in example3, but treat the problem as a regression problem. My question is, is there any way KAN can limit the output to...