Access the learning history

How to access the learning history of a Trial class object. i.e how to get the list of losses (and other metrics) that stores the loss for each training step. I see this information in the trail folder in result.json, but I didn’t find a way to get this info from the Trial.
PS. Also, how to get the best loss (and its iteration number) of a Trial

1 Like

Hey @LIKAN_BLK, all this info should be available in the Analysis object that’s returned by You can see more info here Analysis (tune.analysis) — Ray v1.6.0

Can you please elaborate on which properties of the ExperimentAnalysis contained the required information? Before writing here I quite thoroughly investigated this object. I found some fields, that looked like they intended to contain the required information, but they are empty.