Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hi, I Am Trying To Do Some Hyperparameter Search With Clearml. I Would Like To Define A Logarithmic Uniform Range For Some Hyperparams But The Options I Find Are Uniformparameterrange And Uniformintegerparameterrange Which I Assume Are Linear Ranges. Is T

Hi, I am trying to do some hyperparameter search with ClearML. I would like to define a logarithmic uniform range for some hyperparams but the options I find are UniformParameterRange and UniformIntegerParameterRange which I assume are linear ranges. Is there any other option to define ranges?

  
  
Posted 3 years ago
Votes Newest

Answers 11


I have to change some other things.

  
  
Posted 3 years ago

LethalDolphin75 Yes you are correct, we should add here:
https://github.com/allegroai/clearml/blob/400c6ec103d9f2193694c54d7491bb1a74bbe8e8/clearml/automation/optuna/optuna.py#L210
elif isinstance(p, UniformLogarithmicParameterRange): hp_type = 'suggest_float' hp_params = dict(low=p.min_value, high=p.max_value if p.include_max else p.max_value - p.step_size, log=True, step=p.step_size)btw: I'm not sure if the min/max values should be before or after log (i.e. low=log(p.min_value) or low=p.min_value )

  
  
Posted 3 years ago

I'm having another problem now because I am using the OptunaOptimizer.

Hmm let me check a sec

  
  
Posted 3 years ago

I'm having another problem now because I am using the OptunaOptimizer.

  
  
Posted 3 years ago

Hey LethalDolphin75 , when it works, could you PR it?

  
  
Posted 3 years ago

I was looking at optuna package and noticed that they raise this ValueError:
if step is not None: if log: raise ValueError("The parameterstepis not supported whenlogis True.")So step_size should always be None

  
  
Posted 3 years ago

And the low and high values are already the log value. For example it couldbe sth like low=1e-6, high=1e-3 ; and not low=-6, high=-3 .

  
  
Posted 3 years ago

Thanks LethalDolphin75 ! ❤

  
  
Posted 3 years ago

Hi AgitatedDove14 , I made the PR: https://github.com/allegroai/clearml/pull/462 . Check it out and let me know. Thanks!

  
  
Posted 3 years ago

Looks great, nice solution and easy to implement, thanks!

  
  
Posted 3 years ago
937 Views
11 Answers
3 years ago
one year ago
Tags