how to implement pso algoritm

i used regression linear and perdiect my parameter which i need ... i want to use pso algoritm in my code to optimize my code...i saw some video on youtube but all of them focus on something like it f(x)=sum xi^2 but i have dataset that i got them from experimental test and used it in svr model ..i can't understand use database in pso code ...
give me help to solve my problem
thanks in advance

댓글 수: 6

Andreas Goser
Andreas Goser 2024년 5월 6일
Assuming "PSO" stands for "Particle Smarm Optimization", there are many implementations out there, including one by MathWorks.
ali
ali 2024년 5월 6일
i want to do it on matlab but i dont know how to use it
Mann Baidi
Mann Baidi 2024년 5월 6일
편집: Mann Baidi 2024년 5월 6일
You can refer for the following documentation to start.
You need to have Global Optimization Toolbox for using the 'particleswarm' function.
ali
ali 2024년 5월 7일
이동: Sam Chak 2024년 5월 7일
hi .after some sufacing on web i got it when i use liner regression app this method use three hyper parameter something like ( gama . epsilon . c ) how can i change for example when i got optimaziton of them from pso algoritm ..i used app an i dont any access to them in order to change...any algoritm i choose to train in this app give me mse ...msa..rmse etc
Sam Chak
Sam Chak 2024년 5월 7일
이동: Sam Chak 2024년 5월 7일
Hi @ali
Unfortunately, SVM and the usage of its hyperparameters in PSO are not topics covered in my math courses, so I can't provide direct assistance with that. However, I have updated my post with some SVM materials that might be helpful in solving your problem.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

태그

질문:

ali
2024년 5월 6일

이동:

2024년 5월 7일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by