Skip to content

cost_per_example implementation for MPDBM#1510

Open
goodfeli wants to merge 3 commits into
lisa-lab:masterfrom
goodfeli:cost
Open

cost_per_example implementation for MPDBM#1510
goodfeli wants to merge 3 commits into
lisa-lab:masterfrom
goodfeli:cost

Conversation

@goodfeli

@goodfeli goodfeli commented May 2, 2015

Copy link
Copy Markdown
Contributor

No description provided.

@lamblin

lamblin commented May 2, 2015

Copy link
Copy Markdown
Member

It looks like a lot of logic is copy-pasted from the case we wanted the sum. Could you refactor it?
Also, there are no unit tests for these methods, could you add some that check that the sum of the per-example costs is indeed the same as the cost for the whole batch?

@lamblin lamblin self-assigned this May 6, 2015
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