Git Product home page Git Product logo

Comments (12)

zoq avatar zoq commented on July 26, 2024

CMA-ES isn't related to NEAT, but you get to know the optimizer infrastructure.

from ensmallen.

favre49 avatar favre49 commented on July 26, 2024

CNE also does the same as CMAES for point 1. Are there any drawbacks to initializing the population by adding matrices generated by arma::randn() to the starting point?

from ensmallen.

zoq avatar zoq commented on July 26, 2024

Right, no need to restrict the starting point.

from ensmallen.

favre49 avatar favre49 commented on July 26, 2024

@zoq For point 2, besides your suggestions, could we also include the initial step size as a parameter? Currently, we experience a problem when we use larger bounds, since the initial step size becomes too large. This causes the CMAES implementation to fail tests when the parameters are changed to include larger bounds (For e.g., [-25,25] for the LogisticRegressionTest). This problem is fixed if we change the step size.

Moreover, I think instead of using one set of bounds for all parameters of a candidate, the user should be able to apply constraints to each parameter separately, since that is more practically useful. Please let me know your thoughts on this

from ensmallen.

zoq avatar zoq commented on July 26, 2024

Sounds reasonable to me, I think this is already included in #88?

from ensmallen.

favre49 avatar favre49 commented on July 26, 2024

No, I wanted to make sure it was alright before including it. I'll make the required changes to #88 soon

from ensmallen.

zoq avatar zoq commented on July 26, 2024

Sounds good, thanks!

from ensmallen.

rcurtin avatar rcurtin commented on July 26, 2024

Do you want me to wait to release the next version of ensmallen until #88 is merged?

from ensmallen.

favre49 avatar favre49 commented on July 26, 2024

I'm not sure whether that question was meant for me, but I should let you know that i might not be able to work on #88 much for the next couple weeks, since I'm going to be busy with exams and stuff.

from ensmallen.

rcurtin avatar rcurtin commented on July 26, 2024

No worries, we can just get #90 merged and then release, assuming that that one is basically ready (I think it is, I'll try and review it tomorrow).

from ensmallen.

favre49 avatar favre49 commented on July 26, 2024

Sure :)
Also, about applying box constraints for each parameter, i don't think we currently have any implementation that does that yet. Would it be fine to add a parameter in the constructor for an arma::cube where each slice has the constraints? Or is there some other way you would like to do this?

from ensmallen.

rcurtin avatar rcurtin commented on July 26, 2024

Personally I don't see any issue with an arma::cube for constraints. It might be worth having that as a separate constructor, so that the user can choose to provide two double parameters for the minimum and maximum in each dimension (which is easy to make a hypercube with), or a more complex arma::cube.

from ensmallen.

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.