-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
[PSLIB] Add Metrics Module, Support User-defined Add Metric #38789
[PSLIB] Add Metrics Module, Support User-defined Add Metric #38789
Conversation
Thanks for your contribution! |
… dev_add_metrics_module
if (!this->merge_by_insid_) { | ||
return fleet_ptr->LocalRandomEngine()() % this->trainer_num_; | ||
} else { | ||
if (this->merge_by_insid_) { | ||
return XXH64(data.ins_id_.data(), data.ins_id_.length(), 0) % |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- 此处 globalshuffle 在二次开发时需要新增 if/else,建议按照 neg sampling #36564 方法重构;
- 类、函数、变量命名按统一ps规范来 https://ku.baidu-int.com/knowledge/HFVrC7hq1Q/pKzJfZczuc/UQuex_mf2m/sTOYzTS6so3HUG
- 文件是否可以放入统一ps的目录中,在统一ps未开发完之前也能正常调用?
- 此处的 BasicAucCalculator 和 paddlebox 中的 BasicAucCalculator 是什么关系?
- 需要新增 metrics 基类,方便后续开发
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
先进行功能合入,后续再考虑放入统一ps
Sorry to inform you that 4382e31's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
… dev_add_metrics_module
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…ddle#38789) * [PSLIB] Add Metrics Module, Support User-defined Add Metric * [PSLIB] Modify According to CI * [PSLIB] Modify According to CI * [PSLIB] Modify According to CI * [PSLIB] Modify According to CI Coverage * [PSLIB] Modify According to CI * [PSLIB] Modify According to CI * [PSLIB] Modify According to CI * [PSLIB] Modify According to CI * [PSLIB] Modify According to CI * [PSLIB] Modify According to CI Coverage * [PSLIB] Modify According to CI Coverage * [PSLIB] Modify According to CI Coverage * modify role_maker * update CMakeLists.txt
* 12.3 first add metrics module * add Mask/MultiTask * add WuAUC * [PSLIB] Update WuAUC Compute * [PSLIB] Change WuAUC Compute Mehod * [PSLIB] Clean WuAUC Compute * [PSLIB] Clean Metric Module Unused Code * mv metric instance * [PSLIB] Add Metrics Module, Support User-defined Add Metric (#38789) * [PSLIB] Add Metrics Module, Support User-defined Add Metric * [PSLIB] Modify According to CI * [PSLIB] Modify According to CI * [PSLIB] Modify According to CI * [PSLIB] Modify According to CI Coverage * [PSLIB] Modify According to CI * [PSLIB] Modify According to CI * [PSLIB] Modify According to CI * [PSLIB] Modify According to CI * [PSLIB] Modify According to CI * [PSLIB] Modify According to CI Coverage * [PSLIB] Modify According to CI Coverage * [PSLIB] Modify According to CI Coverage * modify role_maker * update CMakeLists.txt
PR types
New features
PR changes
Others
Describe