tensorflow / tensorflow/tensorboard

HParams KerasCallback Display Max Value for Metric

Open
#3,755 5 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

plugin:hparams type:feature
Dominant language
TypeScript
Stars
7.2k
Forks
1.7k
Avg merge
4d 22h
Merged PRs (30d)
1

Description

In the HParams plugin, it would be very useful to have the option of viewing the maximum reached by a metric during training. With the current KerasCallback, only the last value is stored. If you use the KerasCallback in addition to EarlyStopping, you'll end up with a lower than max value.

I'd be open to contributing to this, but I would need guidance on where the best place to add the feature would be and how to test it.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how KerasCallback stores the last metric value and how it interacts with EarlyStopping. Determine the smallest API or option for retaining the maximum reached value, then add focused callback tests covering the recorded maximum and the existing last-value behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
keras
Domain
machine-learning
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.