Open Chukwuebuka-2003 opened 1 month ago
hi, does model.train()
work well (doesn't show any NaN)? Can you nail down to whether the problem comes from train
or auto_symbolic
?
@KindXiaoming i think his issue is with the auto_symbolic function cuz it looks like his model is trained and pruned
@KindXiaoming I do think that this issue might be from the auto_symbolic.
Like @ChrisD-7 said, the model has been trained and pruned.
@Chukwuebuka-2003 are u facing an issue with the dataset? like what the size is when building this classifier I have a larger dataset and run an issue when passing all features through it so I tried loading it through my GPU and faced an issue how big is ur dataset?
yup the low visualization is not that good for classification probs
@ChrisD-7 The dataset that I used isn't big but a little dataset used to train and test classification models. I will share my notebook
I ran a model and will share it as well will link my repo
@Chukwuebuka-2003 take a look : https://github.com/ChrisD-7/Fraud-Detection-in-Supply-Chains-with-Kolmogorov-Arnold-Networks
@Chukwuebuka-2003 were u able to run it ??
@ChrisD-7 I was able to run it, but I came across related errors
Here's the link to my repo on this: https://github.com/Chukwuebuka-2003/kan_diabetes
@Chukwuebuka-2003 let me take a look
@Chukwuebuka-2003 I have submitted a pull request. Please let me know if there are any additional changes needed:
@KindXiaoming I believe this issue can now be closed. The model is functioning well and achieved around 80% accuracy. I encountered some issues with converting the formula to NumPy, but I managed to resolve them.
Now, I tried to train the KAN on a dataset that deals on classification.
My question are these:
Now when I tried to run this:
This was the error that I was seeing: ValueError: array must not contain infs or NaNs
I'm currently stuck here:![image](https://github.com/KindXiaoming/pykan/assets/56232734/776df14a-5aeb-46a6-a79b-121c8fd5eba1)