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

train完之后模型使用及性能评估 #2452

Closed
Damon-wyg opened this issue Jun 13, 2017 · 3 comments
Closed

train完之后模型使用及性能评估 #2452

Damon-wyg opened this issue Jun 13, 2017 · 3 comments

Comments

@Damon-wyg
Copy link

Damon-wyg commented Jun 13, 2017

在模型跑完之后,在output会有每个pass训练出来的w和bias的二进制文件。请教两个问题:

  1. 怎么评估模型的auc?
  2. 线上使用这个模型时,具体应该怎么操作?如果是直接加载这个w和bias到线上,线上配置相应的网络结构,然后train的网络修改了,线上也要修改网络结构?
@qingqing01
Copy link
Contributor

  • 线下评估auc
    可以使用AUC evalutor,在网络配置中使用该evalutor即可。

  • 线上使用模型

    • 线上预测:可以参考C-API
    • 配置: train的网络修改了,线上需要对应的修改配置和重新加载模型

@Damon-wyg
Copy link
Author

我用的是v1 api训练的模型,有针对v1的auc评估方法么?

@qingqing01
Copy link
Contributor

v1的auc用法相同,接口是这个:https://github.com/PaddlePaddle/Paddle/blob/develop/python/paddle/trainer_config_helpers/evaluators.py#L196

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