Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | ·1e | 1 | ·17e29fb9874fdb91fc4e0b2c30810be4·5741152·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·····4380·2021-01-12·19:45:45.000000·control.tar.xz | 2 | -rw-r--r--···0········0········0·····4380·2021-01-12·19:45:45.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0··5736 | 3 | -rw-r--r--···0········0········0··5736580·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="3061328a343b49f6b66dd1a87f2286ce"·class="no-scaled-link"·src="../../_images/ani.gif"·style="width:·450px;"·/>·<img·alt="66e2e605ec0d40fa9e68bac2e8c200ca"·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 | [3061328a343b49f6b66dd1a87f2286ce]·[66e2e605ec0d40fa9e68bac2e8c200ca] |
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, |