avaneev / biteopt Goto Github PK
View Code? Open in Web Editor NEWDerivative-Free Global Optimization Method (C++, Python binding)
License: Other
Derivative-Free Global Optimization Method (C++, Python binding)
License: Other
In wrapParamReal
, is the line
return( maxv - rnd.get() * ( v - dv ));
supposed to be
return( maxv - rnd.get() * ( v - maxv ));
? This would mirror the symmetric case for when v
< minv
. In any case, the current code can return a parameter value outside the range. In my test case I have minv
: -1000, maxv
: 1000, so dv
= 2000. The incoming sample is 1039.54, which reaches line 1802, giving 1000 - rnd.get() * (1039.54 - 2000)
. Since rnd.get()
is in [0,1] and the parenthetical is negative, we get a resulting sample greater than 1000, the supposed maximum.
Thanks for biteopt! :)
In biteaux.h and biteopt.h there are "new" statements without corresponding "delete" statements.
For instance in
void updateDims( const int aParamCount, const int M = 6,
const int PopSize0 = 0 )
there is an deleteBuffers() call, but for "new CBiteOptWrap*[ OptCount ];"
there seems no corresponding delete.
This leads to a memory leak in fcmaes (where BitOpt is called here https://github.com/dietmarwo/fast-cma-es/blob/master/_fcmaescpp/biteoptimizer.cpp)
Is there a way I can prevent this leak by adapting the calling code in biteoptimizer.cpp ?
Hello, I maintain the humpday package which I use to select optimizers. Biteopt was brought to my attention by this issue and I'd like to include it. It seems like the other benchmarking has gone very well.
I'm assuming I can use biteopt? You say there are zero hyper-parameters, which is good, but is there anything obvious I should know?
-Peter
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.