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

add hp be api #961

Merged
merged 7 commits into from
May 21, 2021
Merged

add hp be api #961

merged 7 commits into from
May 21, 2021

Conversation

ShenYuhan
Copy link
Collaborator

No description provided.

visualdl/writer/writer.py Outdated Show resolved Hide resolved
visualdl/writer/writer.py Show resolved Hide resolved
visualdl/utils/importance.py Show resolved Hide resolved
return abs(correlation)


def calc_all_hyper_param_importance(hparams, metrics):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

在某些情况下,由于sum_score一直为0,调用该接口应该会出现 ZeroDivisionError,需要做下异常保护,包括:

  1. 超参试验少于等于两组
  2. metrics的值完全一样

visualdl/server/lib.py Show resolved Hide resolved
@nepeplwu nepeplwu merged commit d946813 into PaddlePaddle:develop May 21, 2021
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.

3 participants