Skip to content

Visualize the loss curves #542

Answered by sarahmish
ShayAdaddi asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @ShayAdaddi

The straightforward approach is to get a hold of the keras.History object. To do that, select the AER block directly and reference the fit_history, below is is the loss from the readme example:

In [3]: orion._mlpipeline.blocks['orion.primitives.aer.AER#1'].instance.fit_history.history
Out[3]: 
{'loss': [0.46820536255836487,
  0.4265056252479553,
  0.41729703545570374,
  0.410270094871521,
  0.4081384539604187],
 'tf.__operators__.getitem_loss': [0.47297951579093933,
  0.4305891692638397,
  0.41900143027305603,
  0.40642619132995605,
  0.4008139371871948],
 'tf.__operators__.getitem_1_loss': [0.4683806598186493,
  0.4258121848106384,
  0.4177078306674957,
  0.416854590177536

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ShayAdaddi
Comment options

Answer selected by ShayAdaddi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants