GithubHelp home page GithubHelp logo

Comments (6)

mpolson64 avatar mpolson64 commented on July 28, 2024

Hi @Fa20 -- assuming you are using AxClient as we typically recommend take not of the trial that failed and simply call ax_client.log_trial_failed(trial_index) with the index of the trial that produced a simulation failure. After doing this you are free to generate new points using ax_client.get_next_trial() and continue the optimization.

from ax.

Fa20 avatar Fa20 commented on July 28, 2024

@mpolson64 thanks for your answer.

this will be not just one trial and may be many of this trial the simulation will be fallied with some of these suggested values of prams and I thought that using abandon will help not to repeat such these values later ?

from ax.

Fa20 avatar Fa20 commented on July 28, 2024

@mpolson64 is there any difference between ax_client.log_trial_failure(trial_index=trial_index) and ax_client.log_trial_failed(trial_index)

from ax.

Fa20 avatar Fa20 commented on July 28, 2024

@mpolson64 could you please keep the issue open since I do not think that is completed from my Side. Thank you so much
I did check and did not find ax_client.log_trial_failed(trial_index) could you please help?

from ax.

mpolson64 avatar mpolson64 commented on July 28, 2024

@Fa20 on this happening in multiple trials, you will need to repeatedly call ax_client.log_trial_failure(trial_index=n) for each trial that produces a simulation failure.

On FAILED versus ABANDONED, see #372 (comment) for a detailed explanation. In practice we see most of our users desire the FAILED behavior (i.e. treating errors as potentially transient and not blocking parameterizations from being re-suggested) so we provide the log_trial_failure method on AxClient to enable easy management. If you truly want the ABANDONED behavior you may do the following:

trial = ax_client.get_trial(trial_index=n)
trial.mark_abandoned()

To your question about the difference between ax_client.log_trial_failure(trial_index=trial_index) and ax_client.log_trial_failed(trial_index): This was a typo on my part -- log_trial_failure is the correct method to use.

from ax.

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.