Comments (2)
Hi @lsassen, Can you share your code including setting up AxClient and the GenerationStrategy for repro? Thanks!
from ax.
Hi @sdaulton. Here is how I set my AxClient:
- Set up the generation startegy:
gs = GenerationStrategy(
steps=[
GenerationStep(
model=Models.BOTORCH_MODULAR,
num_trials=-1,
model_kwargs={
"surrogate": Surrogate(FixedNoiseGP),
"botorch_acqf_class": UpperConfidenceBound,
"acquisition_options": {"beta": 1.96**2,}
},
),
]
)
- Set up the experiment
search_space = SearchSpace(parameters=[RangeParameter(name="x", parameter_type=ParameterType.FLOAT, lower=-10*np.pi, upper=10*np.pi)])
optimization_config = OptimizationConfig(objective=Objective(metric=Metric(name="f(x)",lower_is_better=False,),minimize=False,))
# Here, we have a dummy runner that does nothing.
class MyRunner(Runner):
def run(self, trial):
trial_metadata = {"name": str(trial.index)}
return trial_metadata
experiment =Experiment(
name="my first experiment",
search_space=search_space,
optimization_config=optimization_config,
tracking_metrics=None,
runner=MyRunner(),
status_quo=None,
description=None,
is_test=False,
experiment_type=None,
properties=None,
default_data_type=None,
)
- Setup the Runner
ax_client = AxClient(
generation_strategy=gs,
verbose_logging=True,
early_stopping_strategy=None,
)
ax_client._set_experiment(
experiment=experiment, overwrite_existing_experiment=True
)
I am using ax-platform==0.3.5
version. If you need more input from my side to provide feedback please let me know.
Thanks you
from ax.
Related Issues (20)
- [CODING QUESTION] 'Data' object has no attribute 'is_ok' HOT 3
- how to use Banit Optimization of AX if i want to set multiple objects? HOT 4
- SyntheticRunner: @property decorator missing for def run_metadata_report_keys() HOT 2
- How to add json_encoder_registry in RegistryBundle to save to JSON file
- Deserialization using RegistryBundle not working as expected HOT 5
- Question regards how to enforce one set of user choice default values during the Sobol initial trial generation. HOT 5
- Typeguard requirement is for old version HOT 5
- how to get plots(slice, contour) from 'ax_client_snapshot.json'? HOT 3
- Remove deprecated `FixedNoiseGP` from examples
- API docs still show usage of minimize=True and objective_name="branin" despite deprecation warning HOT 1
- Setting up robust optimization experiment with MVaR gives error HOT 8
- FullyBayesianMOO memory usage HOT 5
- Example (tutorial) for ST_MTGP_NEHVI HOT 2
- Out of Memory crash issue HOT 6
- "Hyperparameter Optimization via Raytune" link in website is broken. HOT 2
- Using `evaluate_acquisition_function` on `AxClient` causes subsequent optimziation errors HOT 2
- Question : modifications of compute_posterior_pareto_frontier HOT 2
- Tracking of auxiliary metrics HOT 2
- `qMaxValueEntropy` doesn't seem to work with `ObjectiveProperties(minimize=True)` HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ax.