Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | · | 1 | ·76ddc5562afeecc49dcba78bc3da5e1e·5741188·doc·optional·python-pyswarms-doc_1.3.0-1_all.deb |
2 | ·903e143dc4050bc456774d469822c40b·51260·python·optional·python3-pyswarms_1.3.0-1_all.deb | 2 | ·903e143dc4050bc456774d469822c40b·51260·python·optional·python3-pyswarms_1.3.0-1_all.deb |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | -rw-r--r--···0········0········0········4·2021-01-12·19:45:45.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2021-01-12·19:45:45.000000·debian-binary |
2 | -rw-r--r--···0········0········0·····438 | 2 | -rw-r--r--···0········0········0·····4384·2021-01-12·19:45:45.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0··57366 | 3 | -rw-r--r--···0········0········0··5736612·2021-01-12·19:45:45.000000·data.tar.xz |
Offset 590, 15 lines modified | Offset 590, 15 lines modified | ||
590 | 2020-12-11·19:23:30,971·-·matplotlib.animation·-·WARNING·-·MovieWriter·imagemagick·unavailable;·using·Pillow·instead. | 590 | 2020-12-11·19:23:30,971·-·matplotlib.animation·-·WARNING·-·MovieWriter·imagemagick·unavailable;·using·Pillow·instead. |
591 | 2020-12-11·19:23:30,973·-·matplotlib.animation·-·INFO·-·Animation.save·using·<class·'matplotlib.animation.PillowWriter'> | 591 | 2020-12-11·19:23:30,973·-·matplotlib.animation·-·INFO·-·Animation.save·using·<class·'matplotlib.animation.PillowWriter'> |
592 | </pre></div></div> | 592 | </pre></div></div> |
593 | </div> | 593 | </div> |
594 | <p>Compare·the·two·animations.·Observe·the·convergence·time·and·particle·overshoot·in·both·figures.</p> | 594 | <p>Compare·the·two·animations.·Observe·the·convergence·time·and·particle·overshoot·in·both·figures.</p> |
595 | <p>Left:·Without·handle</p> | 595 | <p>Left:·Without·handle</p> |
596 | <p>Right:·With·handle</p> | 596 | <p>Right:·With·handle</p> |
597 | <p><img·alt=" | 597 | <p><img·alt="e9931584ebb94741b7c50b6b0b900319"·class="no-scaled-link"·src="../../_images/ani.gif"·style="width:·450px;"·/>·<img·alt="ff3502c37f8d4806bd332e83b79cf307"·class="no-scaled-link"·src="../../_images/ani_h.gif"·style="width:·450px;"·/></p> |
598 | <div·class="nbinput·nblast·docutils·container"> | 598 | <div·class="nbinput·nblast·docutils·container"> |
599 | <div·class="prompt·highlight-none·notranslate"><div·class="highlight"><pre><span></span>[·]: | 599 | <div·class="prompt·highlight-none·notranslate"><div·class="highlight"><pre><span></span>[·]: |
600 | </pre></div> | 600 | </pre></div> |
601 | </div> | 601 | </div> |
602 | <div·class="input_area·highlight-ipython2·notranslate"><div·class="highlight"><pre> | 602 | <div·class="input_area·highlight-ipython2·notranslate"><div·class="highlight"><pre> |
603 | <span></span> | 603 | <span></span> |
604 | </pre></div> | 604 | </pre></div> |
Offset 137, 15 lines modified | Offset 137, 15 lines modified | ||
137 | imagemagick·unavailable;·using·Pillow·instead. | 137 | imagemagick·unavailable;·using·Pillow·instead. |
138 | 2020-12-11·19:23:30,973·-·matplotlib.animation·-·INFO·-·Animation.save·using | 138 | 2020-12-11·19:23:30,973·-·matplotlib.animation·-·INFO·-·Animation.save·using |
139 | <class·'matplotlib.animation.PillowWriter'> | 139 | <class·'matplotlib.animation.PillowWriter'> |
140 | Compare·the·two·animations.·Observe·the·convergence·time·and·particle·overshoot | 140 | Compare·the·two·animations.·Observe·the·convergence·time·and·particle·overshoot |
141 | in·both·figures. | 141 | in·both·figures. |
142 | Left:·Without·handle | 142 | Left:·Without·handle |
143 | Right:·With·handle | 143 | Right:·With·handle |
144 | [ | 144 | [e9931584ebb94741b7c50b6b0b900319]·[ff3502c37f8d4806bd332e83b79cf307] |
145 | [·]: | 145 | [·]: |
146 | *****·Customizing·ending·options¶·***** | 146 | *****·Customizing·ending·options¶·***** |
147 | As·of·the·current·version(1.2.0),·youâll·need·to·create·your·own·optimization | 147 | As·of·the·current·version(1.2.0),·youâll·need·to·create·your·own·optimization |
148 | loop·to·keep·custom·ending·options.·The·next·block·shows·a·basic·implementation | 148 | loop·to·keep·custom·ending·options.·The·next·block·shows·a·basic·implementation |
149 | of·this·without·logging·etc. | 149 | of·this·without·logging·etc. |
150 | [6]: | 150 | [6]: |
151 | from·pyswarms.backend.operators·import·compute_pbest, | 151 | from·pyswarms.backend.operators·import·compute_pbest, |