Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-Dimensional Metric #9082

Closed
dolevshapira opened this issue Jan 15, 2018 · 0 comments
Closed

Multi-Dimensional Metric #9082

dolevshapira opened this issue Jan 15, 2018 · 0 comments

Comments

@dolevshapira
Copy link

Hi,
I wanted to create a batch-wise confusion matrix and sum it over using a callback, but I figured that it is not possible to create a multi-dimensional value passed as a metric after getting a little more familiar with the source code.
I think it is a very useful feature, so I wondered how to implement it.
As someone who's understanding of Keras internals is very shallow, I thought to ask for guidelines (Unless someone else would like to do it themselves)
would it be possible to implement this feature using return score_array instead of this line in _weighted_masked_objective and changing the basic metrics to do K.mean before returning?

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

No branches or pull requests

2 participants