Giter VIP home page Giter VIP logo

Comments (2)

jbmouret avatar jbmouret commented on May 28, 2024

Hi Ahn

Thank you for your feedback.

On Jan 23, 2015, at 17:52, Anh Nguyen [email protected] wrote:

• In this file: sferes/modif/novelty.hpp, after lowering the rho_min, I think we need to reset the _not_added to be 0; otherwise every generation after this, the accumulated _not_added will always be larger than Params::novelty::stalled_tresh, resulting in _rho_min keeps getting lowered.

// update rho_min

if (_not_added > Params::novelty::stalled_tresh)//2500

{
_rho_min
*= 0.95
;
_not_added
= 0; // <--- suggested change

}

Done. Thank you. Note that you may want to have a lower threshold in this case: if you start with rho_min that is too high, you will need a lot of evaluation before reaching the “right value”.

• I find that after satisfying this check (n > _rho_min || misc::rand() < Params::novelty::add_to_archive_prob) (in the code below), one individual will be added directly to the archive. However, there is a chance that this individual is exactly the same as one already in the archive or very close to one in the archive (distance ~ 0).

if (n >
_rho_min

|| misc::rand() < Params::novelty::
add_to_archive_prob) {
_archive
.push_back(ea.
pop()[i]);
_not_added
= 0
;

++
added;
}

So I'm wondering if adding another check condition would help the search more efficient.
What do you think?

That’s a good point but it would also add a new parameter (the threshold) and I don’t think it is in the original novelty search paper.

best regards,
— Jean-Baptiste Mouret
http://pages.isir.upmc.fr/~mouret/

from sferes2.

anguyen8 avatar anguyen8 commented on May 28, 2024

Note that you may want to have a lower threshold in this case: if you start with rho_min that is too high, you will need a lot of evaluation before reaching the “right value”.

This piece of advice is very useful, thank you!

from sferes2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.