Git Product home page Git Product logo

Comments (4)

xingyousong avatar xingyousong commented on May 5, 2024

Hi @BYTERHIT, I took a look at your code - just making sure, for the range you're describing, are you using LOG or REVERSE_LOG scale?

As as FYI, when using LOG or REVERSE_LOG, the algorithm will apply a log-scale to transform your range [a,b] down to [0,1], uniformly sample points in this underlying [0,1], and then convert back to [a,b].

Note also that Quasi-Random-Search is not like regular random search; the points sampled in the underlying [0,1] space will be fairly spread out and unlikely to cover the edges of the boundary; see https://en.wikipedia.org/wiki/Halton_sequence, which may be the cause of your observed behavior in [0.01, 0.013].

To double check this is a matter of the algorithm, can you try just regular RANDOM_SEARCH and see what the sampled points are?

from vizier.

BYTERHIT avatar BYTERHIT commented on May 5, 2024

Hi @xingyousong I have checked that when using RANDOM_SEARCH, I get the normal results, the points are in the range [0.0001,0.1]. As follows:
WechatIMG30
And I did not use LOG or REVERSE_LOG scale, instead, I use LINEAR scale. The QUASI_RANDOM_SEARCH results as follows:

quasi_random
Also I posted the config file for vizier client parameters and the python file to generate the figure above.
config&plot.zip

Since the sample points are in a small fraction of the target range. I think it is abnormal. Using Halton Sequence should not get the results?

from vizier.

xingyousong avatar xingyousong commented on May 5, 2024

@BYTERHIT Thanks for the notification. I've made the fix (it was mainly just needing to set scrambled=True) in #542 and pushed to 0.1.3.

from vizier.

BYTERHIT avatar BYTERHIT commented on May 5, 2024

It works!

from vizier.

Related Issues (17)

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.