Skip to content

Fixed a minor bug in the get_pandas_dataframe function of Result#86

Open
JamesAllingham wants to merge 1 commit intoautoml:masterfrom
JamesAllingham:bugfix/result/loss_fn
Open

Fixed a minor bug in the get_pandas_dataframe function of Result#86
JamesAllingham wants to merge 1 commit intoautoml:masterfrom
JamesAllingham:bugfix/result/loss_fn

Conversation

@JamesAllingham
Copy link
Copy Markdown

The loss_fn lambda was not being used and as a result, only the losses and not any info can be retrieved, for e.g by saying loss_fn = lambda r: {"val_NLL": r.loss, "val_err": r.info['valid err']}.

This PR does not change the default behaviour.

…class

The loss_fn lambda was not being used and as a result, only the losses and not any info can be retrieved. For e.g by saying loss_fn = lambda r: {"val_NLL": r.loss, "val_err": r.info['valid err']}.
@codecov-io
Copy link
Copy Markdown

Codecov Report

Merging #86 into master will decrease coverage by 0.37%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master      #86      +/-   ##
==========================================
- Coverage   65.16%   64.78%   -0.38%     
==========================================
  Files          28       28              
  Lines        1846     1846              
==========================================
- Hits         1203     1196       -7     
- Misses        643      650       +7     

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants