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, Does 'Trains' Save Scalars Somewhere In The Machine Similar To Log File?

Hi, does 'trains' save scalars somewhere in the machine similar to log file?

  
  
Posted 4 years ago
Votes Newest

Answers 4


MysteriousBee56 what do you mean "save Scalars on the machine"? All metrics are sent to the trains server. You can later retrieve them from code, if you need.

  
  
Posted 4 years ago

Actually, I want to retrieve metrics from code and I thought that these metrics might be stored somewhere in the local folders so that I can access them via code. You know the log file is created and stored in /tmp folder.

  
  
Posted 4 years ago

thanks a lot 🙂

  
  
Posted 4 years ago

To retrieve metrics from an experiment I use this:
` from trains_agent import APIClient

client = APIClient()

client.events.get_scalar_metric_data(task=task_id, metric="name_of_metric") `Thanks to AgitatedDove14 that point this to me.

  
  
Posted 4 years ago
1K Views
4 Answers
4 years ago
one year ago
Tags