Hi Dr. Ghorbani,
Note that I quickly created the following data to run MLP and KAN and it is ill-conditioned data, thus there will be infinite number of solutions (the columns are perfect linear combination of other columns), thus any least square estimation or its variations will be unstable. Please use different training dataset that you are familiar with.
dataSDL = ArrayReshape[N@Range[300], {100, 3}];
I remember reading a paper that claims KAN is better than MLP but I also remember a paper claiming that KAN is not. I guess it deepens on the goal, precise prediction with complex model or understandable structure with transparent model.
I think you are in the process of fine-tuning the net structure and it will be a time-consuming process.
It is a good practice in analyses that the input data should be standardized or normalized. I experienced that batch normalization layer improves the fitting well.
kanSDLEE04 = NetTrain[
NetChain[
{
BatchNormalizationLayer[],
KANlayer[2, 50, 10, 3],
KANlayer[50, 1, 10, 3]
}
],
dataSDL[[All, 1 ;; 2]] -> Transpose@{dataSDL[[All, 3]]}, All,
MaxTrainingRounds -> 1000
]