Introduction - If you have any usage issues, please Google them yourself
The trainlssvm function is used for training models, and there are two main forms of use:
[alpha, b] = trainlssvm ({X, Y, type, GAM, kernel_par, kernel, preprocess})
Model = trainlssvm (model) or model = trainlssvm (model, X, Y)
X and Y are the input and output data of the training sample set, respectively.