Learn Particle Swarm Optimization (PSO) in 20 minutes

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ม.ค. 2025

ความคิดเห็น • 289

  • @thealimirjalili
    @thealimirjalili  6 ปีที่แล้ว +55

    Here is the link to download the particle simulation (without me of course :D ): au.mathworks.com/matlabcentral/fileexchange/69027-simulation-of-particles-in-particle-swarm-optimization

    • @lingfengliu955
      @lingfengliu955 6 ปีที่แล้ว

      pretty vivid example, thx

    • @althobhanialaa8268
      @althobhanialaa8268 5 ปีที่แล้ว

      may I use your simulation of POS part in my video

    • @salmasantoso4766
      @salmasantoso4766 4 ปีที่แล้ว

      @@lingfengliu955 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000⁰⁰⁰⁰00000000000⁰000⁰0⁰⁰000⁰00⁰⁰00000⁰000000000000000000000000000000000000000000000000000000000000000000000000000000000000000⁰00000000000⁰00000000000000000000000000000000000000⁰0000⁰000000000000000000000000⁰000000000000000⁰⁰0000⁰00000000⁰000000000000⁰00⁰0⁰000000⁰00000⁰00⁰0⁰000⁰0⁰0⁰00⁰⁰⁰0⁰00000⁰⁰⁰⁰⁰0ĺ00000000000000⁰⁰⁰00⁰000000000⁰000000⁰0⁰⁰⁰0000⁰⁰

    • @mubeenshaikh7542
      @mubeenshaikh7542 3 ปีที่แล้ว +1

      Thank you sir, elaborately explained, you're Genius sir, thanks again.

    • @muhammadmuneeb8162
      @muhammadmuneeb8162 2 ปีที่แล้ว +1

      Thanks for sharing such outstanding data

  • @37kuba
    @37kuba ปีที่แล้ว +22

    May your career converge in a global maximum, Sir.

  • @abhimanyuroat8755
    @abhimanyuroat8755 4 ปีที่แล้ว +39

    Never expected to find such a brilliant explanation in the first search attempt, doing literature review for Truss Optimization using PSO and found it to be extremely helpful. Thanks a lot!

  • @sajjadahmadpoor8851
    @sajjadahmadpoor8851 9 หลายเดือนก่อน +2

    What Great content in 6 years ago! Thank you.

  • @comradepeter87
    @comradepeter87 8 หลายเดือนก่อน +3

    I think this is the best video on PSO on YT right now. Perfect mix of exploration of topics and exploitation/depth on each one.

  • @shikharsingh8930
    @shikharsingh8930 5 ปีที่แล้ว +17

    this is by far the best video on pso i have came across.

  • @hilarychisepo6517
    @hilarychisepo6517 3 ปีที่แล้ว +7

    I'm not in the field of PSO but the teaching in this video is crystal clear and illustrative. Great explanation even to a layman like me!

    • @vertigo333
      @vertigo333 ปีที่แล้ว

      shoutout bro i love ur papers keep grinding 👆

  • @pixelpix1728
    @pixelpix1728 11 หลายเดือนก่อน +1

    Man you're the best!! I really didn't think I'd be able to finish my optimization homework and didn't think I could learn PSO so quickly but your explanation was so amazing I was really able to learn it by the end of the video and optimize my homework! Thank you SO MUCH!! You're amazing!

  • @abdurrouf-sq8me
    @abdurrouf-sq8me ปีที่แล้ว +2

    This video is really out of the world. Too good.

  • @moeinghafary9420
    @moeinghafary9420 2 ปีที่แล้ว +1

    WOW !! it was by far the best video for PSO. tnx

  • @viggotroback4429
    @viggotroback4429 2 ปีที่แล้ว +4

    This 20min video was a 2 hour lecture at my university, still this explains it better.

  • @karthikbalaji6833
    @karthikbalaji6833 5 ปีที่แล้ว +7

    The instructor does a good job introducing the concept of PSO and explaining the role of each component involved in the base algorithm

  • @michaelbyrne8238
    @michaelbyrne8238 3 ปีที่แล้ว +10

    I've been using PSO since about 2005. Thank you for teaching it and keeping it alive. I still have my copy of "Swarm Intelligence" by Kennedy and Eberhart.

    • @mqasimkhan123
      @mqasimkhan123 2 ปีที่แล้ว +1

      do you have the code of PSO?

    • @hxengineeringenterprise4366
      @hxengineeringenterprise4366 6 หลายเดือนก่อน

      Hello.
      Please can I get your contact?
      I'm conducting a research on it.
      This is the topic: PSO-Based Optimization of Power System Stabilizers for Enhancing Small-Signal Stability

  • @evergreensongsoftfm8483
    @evergreensongsoftfm8483 2 ปีที่แล้ว +2

    Professional and easy explanation with examples...we need YT channels like this

  • @thomassantini1688
    @thomassantini1688 3 ปีที่แล้ว +1

    The best explaination of PSO i've found yet!

  • @DarpanVisuals
    @DarpanVisuals 5 ปีที่แล้ว +8

    Wow! Didn't expect the video to be so informative and visually appealing. This is the best explanation I found on this topic so far, thanks a ton!

  • @mominabbas6715
    @mominabbas6715 2 ปีที่แล้ว +1

    Best explanation of PSO I have come across so far!

  • @RKN998
    @RKN998 3 ปีที่แล้ว +2

    this might be the best explanation ever made about this subject. Thank you so much

  • @nikzen9073
    @nikzen9073 4 ปีที่แล้ว +3

    The video title was not a lie. Great video!

  • @syelfiasafitritanjung4619
    @syelfiasafitritanjung4619 ปีที่แล้ว +1

    your explanation really easy to understand.. thank you

  • @cryovaced
    @cryovaced 2 ปีที่แล้ว +1

    My goodness! This is by far the best presentation I have come across! Thank you so much!

  • @Manoj-of8nr
    @Manoj-of8nr 4 ปีที่แล้ว +1

    Amazing video and the best explanation of PSO found on TH-cam.
    Thanks Ali Mirjalili

  • @ashishpandey698
    @ashishpandey698 5 ปีที่แล้ว +4

    It's my first look into PSO, glad that I found this. Thanks a lot!!!

  • @ketz108932
    @ketz108932 3 ปีที่แล้ว

    The best tutorial on PSO on youtube..

  • @_TheZipper_
    @_TheZipper_ 2 ปีที่แล้ว +2

    This was extremely helpful! I'm doing a research project on metaheuristics and I'm trying to familiarize myself with some of the various techniques that can be used. I'm very new to these heuristic concepts but this video made it very digestible for me.
    Thank you!

    • @trejohnson7677
      @trejohnson7677 2 ปีที่แล้ว +1

      Check out the Demon Algorithm

  • @zakariaelhallaoui8868
    @zakariaelhallaoui8868 4 ปีที่แล้ว +2

    The improvement of a number of economic problems requires a good strategy, that is
    say to find a good algorithm.
    The choice of algorithm is a key point for success. Because no algorithm can solve
    all the problems of the same efficiency.
    We can define an algorithm as a succession of steps that lead to a solution for a
    given problem.
    Required work :
    -. Give the steps necessary to run the algorithm in question.
    - Using this algorithm on an example of your choice, give the steps followed
    and its programming

  • @nihirpriram69
    @nihirpriram69 5 ปีที่แล้ว +4

    A great video with a clear explanation. A great primer to the topic. Thank you !

  • @NatiqFm
    @NatiqFm 6 ปีที่แล้ว +4

    I'm looking at tuning parameters of ANN model by using PSO technique, and so far this was the best explanation of PSO, thanks.

  • @dimarananhugo
    @dimarananhugo 6 ปีที่แล้ว +7

    Very well explained, Sir Ali! Thank you for this video!

  • @SolvingOptimizationProblems
    @SolvingOptimizationProblems 5 ปีที่แล้ว +2

    I usually use GA to solve optimization problem but I will learn PSO. Thanks for the video.

  • @misterpucc
    @misterpucc 5 ปีที่แล้ว +2

    Really nice and clear explanation! The tests were fundamental to understand how the algorithm works! Thanks a lot!

  • @kgosietsilemodisane8459
    @kgosietsilemodisane8459 2 ปีที่แล้ว +1

    🐐 - very clearly explained and the visuals helped a lot to reinforce the concepts.

  • @jeroenritmeester73
    @jeroenritmeester73 2 ปีที่แล้ว +1

    6:00 I believe that it is incorrect to state that he can sleep anywhere in the green shaded area, since the vector are all scaled scaled equally, if each of the three directions A, B, C are walked an equal distance d, then the total distance D is D = Ad + Bd + Cd = d (A + B + C), which means that no matter the value of d (0 km, 5km, 10km, 20km), the direction will be the same, namely (A+B+C)/||(A+B+C)||, which is the normalised value of (A+B+C). Therefore, all possible end points lie in the same direction.
    This is only changed once at 12:00 the variables w, c1, c2 are added to tune the contribution of each term.

  • @DarshanD45
    @DarshanD45 6 ปีที่แล้ว +4

    *Thank you Sir*..*Concise and Lucid*...really beneficial

  • @Dan-rm6jz
    @Dan-rm6jz 4 ปีที่แล้ว +3

    This was an amazing video. Extremely clear and informative. Thank you so much.

  • @husseinshutari5209
    @husseinshutari5209 5 ปีที่แล้ว +3

    I'd really like to thank you for making it understandable

  • @flashdustcollector5928
    @flashdustcollector5928 3 ปีที่แล้ว

    BEST PSO VIDEO SO FAR

  • @socke3229
    @socke3229 6 ปีที่แล้ว +4

    Very well done visualization, especially the effects of the parameters :) Thanks!

  • @elijahturatsinze1576
    @elijahturatsinze1576 4 ปีที่แล้ว +2

    This is really an informative video I was looking for. Thank you so much Ali

  • @aizazullah952
    @aizazullah952 5 หลายเดือนก่อน

    brother i saw your name in your research article today i saw you thank you so much

  • @shubhamroy9438
    @shubhamroy9438 3 ปีที่แล้ว

    Thank you sir. This is probably the best video to understand PSO.

  • @anthonyapm
    @anthonyapm 3 ปีที่แล้ว

    Even I understand PSO now, so this must be a great tutorial!

  • @uli64
    @uli64 4 ปีที่แล้ว

    Amazing bro, very cool explanation,I've loved when particles started looking for your hand

  • @arrowflash1312
    @arrowflash1312 5 ปีที่แล้ว +1

    A really great explanation ,with a good diagrammatic examples.

  • @MrShev5
    @MrShev5 2 ปีที่แล้ว

    Very good pronunciation and illustrative examples supported by mathematical arguments. Good Job!

  • @mijimelon
    @mijimelon 2 ปีที่แล้ว +1

    great video! thank you tony stark!

  • @noyanali1776
    @noyanali1776 4 ปีที่แล้ว

    Thanks! This is the best explanation on PSO!

  • @UECAshutoshKumar
    @UECAshutoshKumar 2 หลายเดือนก่อน +1

    Thank you 😊

  • @happyhuman9625
    @happyhuman9625 4 ปีที่แล้ว +2

    I want to become well versed and educated like you sir. That's my wish

  • @orhanraufakdemir900
    @orhanraufakdemir900 2 ปีที่แล้ว

    This is absolutely brilliant, thanks Teach!

  • @benson4225721
    @benson4225721 ปีที่แล้ว

    The video is nice for the beginner. Thank you so much!

  • @edwinsanchez7342
    @edwinsanchez7342 ปีที่แล้ว

    Best explanation ever !! Thanks.

  • @sdoofette
    @sdoofette 4 ปีที่แล้ว +1

    Thanks for sharing. It really provides a clear explanation on a a really interesting concept. Great thanks for this. Only thing that bugs me, based on your visual illustration (around [7:30]) we see that the search space tend to overlaps both between and within search agents,
    1. would you agree that it seems inefficient ?
    2. How would the Pyhton code looks like to avoid mapping again the region already mapped in the previous search?
    3. Finally why not simply use a parallel grid search which would avoid any overlap both within and across parallelised process ?
    Thanks again for sharing and looking forward to your reply Dr Mirjalili,Olivier

  • @omedhassan2190
    @omedhassan2190 ปีที่แล้ว

    Simple and comprehensive.Thanks

  • @jahcane3711
    @jahcane3711 4 ปีที่แล้ว +1

    @
    Ali Mirjalili
    I really like this alg. But I have a question, has there been any attempt to preserve the energy of the system?
    By that I mean, have particles near the local optima move more slowly and have those far away gain velocity "lost" by the slower moving particles. This need not be an exact preservation of energy, but I think it helps explain the idea: Those things that are far away move around faster exploring more broadly the unknown space while the portion that is closer focus on zeroing in on the exact best values

  • @abdulwariskenue1012
    @abdulwariskenue1012 ปีที่แล้ว

    What an excellent explanation!

  • @daesoolee1083
    @daesoolee1083 4 ปีที่แล้ว

    Crystal clear. Thanks to your excellent quality video!

  • @induwarashenuka6948
    @induwarashenuka6948 9 หลายเดือนก่อน

    What an explanation! Thank you so much.

  • @vinayperambuduri
    @vinayperambuduri 2 ปีที่แล้ว +1

    How can we add a velocity component [that has both displacement(distance) and direction] to a distance component? As we cannot add two components of different dimensions. Could you explain?

  • @sunitbehera3155
    @sunitbehera3155 4 ปีที่แล้ว

    Awesome sir...finally understood..thanks a lot sir

  • @ManishChoudhary-hy5ey
    @ManishChoudhary-hy5ey 5 ปีที่แล้ว

    @Ali Mirjalili - Good Job , tried to explain a difficult topic in an easy way , Thanks.

  • @shukorr5366
    @shukorr5366 3 ปีที่แล้ว +1

    do you have explanation for sine cosine as well? Ive read your paper but still cannot understand

  • @janborowiec8003
    @janborowiec8003 2 ปีที่แล้ว +1

    Incredible explenation! Definitely going to look into your Udemy courses seeing the quality of this video. Thank you!

  • @h.j.2206
    @h.j.2206 4 ปีที่แล้ว

    مهندس جان خداقوت خیلی مفید بود

  • @namibiagottalent
    @namibiagottalent 6 หลายเดือนก่อน

    Thank you so much for this explanation. It is appreciated.

  • @tokitahmidinan2846
    @tokitahmidinan2846 2 ปีที่แล้ว

    What a nice explanation! Heads up for your effort

  • @juanfelipepatarroyo2879
    @juanfelipepatarroyo2879 6 ปีที่แล้ว +7

    Thank you!. crystal clear!

  • @marco.nascimento
    @marco.nascimento 5 ปีที่แล้ว +1

    Very nicely explained, great video :))

  • @YassineChaibi
    @YassineChaibi 5 ปีที่แล้ว +10

    Dear Ali Mirjalili,
    Thank you for this valuable presentation, we would like to know if you can do the dame for GWO.

    • @thealimirjalili
      @thealimirjalili  4 ปีที่แล้ว +2

      Yassine Chaibi Hi. Thanks for your kind message. I have a course on GWO.

  • @ianstats97
    @ianstats97 4 ปีที่แล้ว

    Very good video - the best on PSO

  • @muhammadrezaarghand4532
    @muhammadrezaarghand4532 3 ปีที่แล้ว

    it was very nicely described Ali. It is appreciated

  • @iqrarhussainbuitem12
    @iqrarhussainbuitem12 3 ปีที่แล้ว

    Very informative and good illustration...

  • @timgastrell4354
    @timgastrell4354 6 ปีที่แล้ว

    That was bloody fantastic mate

  • @binhminhpham6872
    @binhminhpham6872 4 ปีที่แล้ว

    Thank you. This video is very easy to understand!

  • @sanaalyaseri3507
    @sanaalyaseri3507 3 ปีที่แล้ว

    great job, your explanation is fantastic

  • @islampathanfreelancer
    @islampathanfreelancer 3 ปีที่แล้ว

    Amazing !Crystal clear

  • @fizoolplayer
    @fizoolplayer 3 ปีที่แล้ว

    Amazing description. Thanks a lot.

  • @Tr0rn3
    @Tr0rn3 4 ปีที่แล้ว

    Thank you for the video, It help me quite a lot in my understanding of the PSO algorithm.

  • @maclee2470
    @maclee2470 5 ปีที่แล้ว +1

    can someone please explain to me what is the difference between PSO and simulated annealing? thanks

  • @subhajitdey6307
    @subhajitdey6307 4 หลายเดือนก่อน

    Brilliant Explanation..

  • @shishirakantajena834
    @shishirakantajena834 3 ปีที่แล้ว

    Why are we using random function in the equation??
    Is it for the randomness of the particles used for observation or whether any specific reason is there for use of random function in the codes??

  • @stephanie_ong
    @stephanie_ong 2 ปีที่แล้ว

    This is a great video. Thank you for sharing

  • @mohanadahmed2819
    @mohanadahmed2819 5 ปีที่แล้ว

    Great explanation... Good job Sir.

  • @asalkhoshravanazar9173
    @asalkhoshravanazar9173 2 ปีที่แล้ว

    It was a brilliant video. Thanks
    Just one issue is not clear to me. How do you sum the distance with velocity as they are not from the same measures? Velocity needs to be multiplied by the time that has passed and then summed with the distances updated with regard to the personal best solution and the global best solution.

  • @VangelisFindanis
    @VangelisFindanis 5 ปีที่แล้ว +1

    Excellent video! It is really helpful!

  • @ErikBlueGuitar
    @ErikBlueGuitar 2 ปีที่แล้ว

    Dear Ali, why is it beneficial to have the walking distance randomised? I don't see the problem of doing the same with fixed 10km walks

  • @HeIsOrNot
    @HeIsOrNot 4 ปีที่แล้ว +1

    Thank you for the video, It help me quite a lot in my understanding of the PSO algorithm.
    PS : I would just like to point you that unless i missed some part, when you show the possible landing area, there seems to be a mistake unless r1 >= r2 >= r3 :/

  • @Napkinholdin
    @Napkinholdin 3 ปีที่แล้ว

    Great video, awesome visualizations :D

  • @thomasbradley2916
    @thomasbradley2916 2 ปีที่แล้ว

    Great video man, thanks

  • @hatefraheeme4020
    @hatefraheeme4020 10 หลายเดือนก่อน

    Well explained. Thanks.

  • @ahmedm.alfadhel272
    @ahmedm.alfadhel272 4 ปีที่แล้ว

    Thank you Dr Ali, You are a great teacher

  • @nmana9759
    @nmana9759 4 ปีที่แล้ว

    What I don't understand is: how does the team now they are nearer to the treasure? Using try an error?

  • @Muneeswaran-vu3ue
    @Muneeswaran-vu3ue 5 ปีที่แล้ว

    Very precise and informative

  • @ashutoshaman2391
    @ashutoshaman2391 6 ปีที่แล้ว

    This was really cool bro, I loved it

  • @Lukas-zl5zs
    @Lukas-zl5zs 3 ปีที่แล้ว

    really good, informative video

  • @sarahebal4391
    @sarahebal4391 3 ปีที่แล้ว +1

    Thank you very much, sir, this is by far the best video on PSO, sir please Is there some other meta-heuristic methods that have a lower computational time than the PSO?

  • @youghi
    @youghi 4 ปีที่แล้ว

    thanks man , it was really helpfull to watch your video .

  • @soodabehasadi8107
    @soodabehasadi8107 5 ปีที่แล้ว

    Hi Ali. I liked the video. Thank you for sharing!

  • @جعفرتومي-ب5ت
    @جعفرتومي-ب5ت 2 ปีที่แล้ว

    Thank you sir for this good explain

  • @dr.nafeesahamad6824
    @dr.nafeesahamad6824 6 ปีที่แล้ว

    Wow that is Very good explanation sir. Superb