Learn Particle Swarm Optimization (PSO) in 20 minutes

Поділитися
Вставка
  • Опубліковано 6 січ 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 4 роки тому

      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 Рік тому +21

    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.

  • @pixelpix1728
    @pixelpix1728 10 місяців тому +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!

  • @viggotroback4429
    @viggotroback4429 2 роки тому +4

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

  • @comradepeter87
    @comradepeter87 7 місяців тому +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.

  • @abdurrouf-sq8me
    @abdurrouf-sq8me 11 місяців тому +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

  • @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 11 місяців тому

      shoutout bro i love ur papers keep grinding 👆

  • @thomassantini1688
    @thomassantini1688 3 роки тому +1

    The best explaination of PSO i've found yet!

  • @Manoj-of8nr
    @Manoj-of8nr 4 роки тому +1

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

  • @mominabbas6715
    @mominabbas6715 2 роки тому +1

    Best explanation of PSO I have come across so far!

  • @evergreensongsoftfm8483
    @evergreensongsoftfm8483 2 роки тому +2

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

  • @cryovaced
    @cryovaced Рік тому +1

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

  • @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

  • @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

  • @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

  • @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!

  • @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..

  • @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.

  • @kgosietsilemodisane8459
    @kgosietsilemodisane8459 Рік тому +1

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

  • @_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!

  • @flashdustcollector5928
    @flashdustcollector5928 2 роки тому

    BEST PSO VIDEO SO FAR

  • @nihirpriram69
    @nihirpriram69 5 років тому +4

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

  • @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

  • @aizazullah952
    @aizazullah952 4 місяці тому

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

  • @SolvingOptimizationProblems
    @SolvingOptimizationProblems 5 років тому +2

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

  • @dimarananhugo
    @dimarananhugo 6 років тому +7

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

  • @misterpucc
    @misterpucc 5 років тому +2

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

  • @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

  • @husseinshutari5209
    @husseinshutari5209 4 роки тому +3

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

  • @Dan-rm6jz
    @Dan-rm6jz 4 роки тому +3

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

  • @shubhamroy9438
    @shubhamroy9438 3 роки тому

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

  • @elijahturatsinze1576
    @elijahturatsinze1576 4 роки тому +2

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

  • @socke3229
    @socke3229 6 років тому +4

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

  • @MrShev5
    @MrShev5 2 роки тому

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

  • @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.

  • @benson4225721
    @benson4225721 Рік тому

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

  • @DarshanD45
    @DarshanD45 6 років тому +4

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

  • @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.

  • @jahcane3711
    @jahcane3711 3 роки тому +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

  • @noyanali1776
    @noyanali1776 4 роки тому

    Thanks! This is the best explanation on PSO!

  • @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?

  • @janborowiec8003
    @janborowiec8003 2 роки тому +1

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

  • @edwinsanchez7342
    @edwinsanchez7342 Рік тому

    Best explanation ever !! Thanks.

  • @abdulwariskenue1012
    @abdulwariskenue1012 Рік тому

    What an excellent explanation!

  • @sunitbehera3155
    @sunitbehera3155 4 роки тому

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

  • @muhammadrezaarghand4532
    @muhammadrezaarghand4532 3 роки тому

    it was very nicely described Ali. It is appreciated

  • @tokitahmidinan2846
    @tokitahmidinan2846 2 роки тому

    What a nice explanation! Heads up for your effort

  • @shukorr5366
    @shukorr5366 3 роки тому +1

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

  • @orhanraufakdemir900
    @orhanraufakdemir900 2 роки тому

    This is absolutely brilliant, thanks Teach!

  • @namibiagottalent
    @namibiagottalent 5 місяців тому

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

  • @marco.nascimento
    @marco.nascimento 5 років тому +1

    Very nicely explained, great video :))

  • @induwarashenuka6948
    @induwarashenuka6948 8 місяців тому

    What an explanation! Thank you so much.

  • @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?

  • @iqrarhussainbuitem12
    @iqrarhussainbuitem12 3 роки тому

    Very informative and good illustration...

  • @ManishChoudhary-hy5ey
    @ManishChoudhary-hy5ey 5 років тому

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

  • @daesoolee1083
    @daesoolee1083 4 роки тому

    Crystal clear. Thanks to your excellent quality video!

  • @Tr0rn3
    @Tr0rn3 4 роки тому

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

  • @omedhassan2190
    @omedhassan2190 Рік тому

    Simple and comprehensive.Thanks

  • @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

  • @ianstats97
    @ianstats97 4 роки тому

    Very good video - the best on PSO

  • @sanaalyaseri3507
    @sanaalyaseri3507 3 роки тому

    great job, your explanation is fantastic

  • @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??

  • @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.

  • @UECAshutoshKumar
    @UECAshutoshKumar Місяць тому +1

    Thank you 😊

  • @Napkinholdin
    @Napkinholdin 3 роки тому

    Great video, awesome visualizations :D

  • @timgastrell4354
    @timgastrell4354 6 років тому

    That was bloody fantastic mate

  • @maclee2470
    @maclee2470 5 років тому +1

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

  • @binhminhpham6872
    @binhminhpham6872 4 роки тому

    Thank you. This video is very easy to understand!

  • @happyhuman9625
    @happyhuman9625 4 роки тому +2

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

  • @h.j.2206
    @h.j.2206 4 роки тому

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

  • @mohanadahmed2819
    @mohanadahmed2819 4 роки тому

    Great explanation... Good job Sir.

  • @mijimelon
    @mijimelon 2 роки тому +1

    great video! thank you tony stark!

  • @pritibansal8068
    @pritibansal8068 4 роки тому

    Very well explained sir. Please upload a video on Marine Predators Algorithm sir.

  • @soodabehasadi8107
    @soodabehasadi8107 5 років тому

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

  • @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 :/

  • @youghi
    @youghi 4 роки тому

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

  • @ashutoshaman2391
    @ashutoshaman2391 6 років тому

    This was really cool bro, I loved it

  • @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.

  • @VangelisFindanis
    @VangelisFindanis 5 років тому +1

    Excellent video! It is really helpful!

  • @fizoolplayer
    @fizoolplayer 3 роки тому

    Amazing description. Thanks a lot.

  • @stephanie_ong
    @stephanie_ong 2 роки тому

    This is a great video. Thank you for sharing

  • @sujans4
    @sujans4 4 роки тому

    Very insightful video on PSO. Could you please make such video on GWO and share here?

    • @thealimirjalili
      @thealimirjalili  4 роки тому

      Thanks. I have a course on GWO. For details please email me.

  • @subhajitdey6307
    @subhajitdey6307 3 місяці тому

    Brilliant Explanation..

  • @GamalZayed
    @GamalZayed 3 роки тому

    Really thanks for your hard work, it is really helpful

  • @kewtomrao
    @kewtomrao 3 роки тому

    How can the teams best location be less than the personal best location?
    If he is going to update the team's best location against his personal best,shouldn't the team's best be >= personal best?

  • @anushkaaddagatla8734
    @anushkaaddagatla8734 3 роки тому

    Sir while plotting graph , my optimised point is out of the graph plotted...how to edit that in pso...kindly help me out

  • @ghulamhafeez9216
    @ghulamhafeez9216 3 роки тому

    Many Thanks. Please could share the slides in PPT of PSO

  • @dr.nafeesahamad6824
    @dr.nafeesahamad6824 6 років тому

    Wow that is Very good explanation sir. Superb

  • @techzila5379
    @techzila5379 2 роки тому

    engineering applications of optimization, general structure of optimization algorithms like genetic algorithm , pls tell where I can cover these topics

  • @nikhithapai1531
    @nikhithapai1531 3 роки тому +2

    Hello Ali, Excellent explanation. Do you have any videos/ courses for hyperparameter tuning using PSO/ or any such algorithm

  • @hemanthsai352
    @hemanthsai352 4 роки тому

    Any vidoes on Real coded Genetic Algorithm for optimization?