75279cd611141935d992aa9540dc2323386be1f1,BAT.py,,BAT,#,14
Before Change
S[i,:]=Sol[i,:]+v[i,:]
// Check boundaries
Sol=numpy.clip(Sol,lb,ub)
// Pulse rate
if random.random()>r:
S[i,:]=best+0.001*numpy.random.randn(d)
After Change
// Update the current best solution
if Fnew<=fmin:
best=numpy.copy(S[i,:])
fmin=Fnew
//update convergence curve
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: 7ossam81/EvoloPy
Commit Name: 75279cd611141935d992aa9540dc2323386be1f1
Time: 2019-04-06
Author: 7ossam@gmail.com
File Name: BAT.py
Class Name:
Method Name: BAT
Project Name: 7ossam81/EvoloPy
Commit Name: 3170e821c8c633cba513d55077304d479fa7dbbc
Time: 2019-03-21
Author: jbae11@illinois.edu
File Name: CS.py
Class Name:
Method Name: get_cuckoos
Project Name: tiberiu44/TTS-Cube
Commit Name: 9cf2bcdb24f23a17ec11e69b8885851771dfd3d8
Time: 2018-10-25
Author: boros@adobe.com
File Name: cube/models/vocoder.py
Class Name: BeeCoder
Method Name: learn
Project Name: XifengGuo/CapsNet-Keras
Commit Name: 0ca571cb6c0fb465befebcb4e1fccef6efaecda3
Time: 2017-11-24
Author: guoxifeng1990@163.com
File Name: capsulelayers.py
Class Name: Mask
Method Name: call