FederatedAI / FATE

An Industrial Grade Federated Learning Framework
Apache License 2.0
5.63k stars 1.55k forks source link

SecureBoost模型输出,在前端的显示,以及fate_flow有对应的api去获取吗? #5667

Open FancyXun opened 1 month ago

FancyXun commented 1 month ago

请教一下:这个视频中的 https://www.bilibili.com/video/BV1hf4y1F7yg/?p=3&vd_source=298aca447de4c8a033366742b247c729 20分30秒 有SecureBoost模型的前端可视化,看起来像是比较早了,请问fate2.0以后,我看我训练的SecureBoost模型只有一个loss的输出,没有这些像tree一样的可视化,请问是取消了吗?还是说只是没显示,可以调用fate_flow的一些请求获得?

talkingwallace commented 1 month ago

2.0也是有树展示的哦?你在board里看不到么

FancyXun commented 1 month ago

是的,standalon模式,基于例子跑了一个结果 : https://github.com/FederatedAI/FATE/blob/master/examples/pipeline/hetero_secureboost/test_hetero_sbt_binary.py

FancyXun commented 1 month ago

guest结果如下: Screen Shot 2024-07-17 at 11 53 34 Screen Shot 2024-07-17 at 11 53 45

FancyXun commented 1 month ago

这是我运行的命令截图

Screen Shot 2024-07-17 at 11 55 20
FancyXun commented 1 month ago

guest结果如下: Screen Shot 2024-07-17 at 11 53 34 Screen Shot 2024-07-17 at 11 53 45

点击sbt_0,里面的model只能看到loss

FancyXun commented 1 month ago

@talkingwallace

FancyXun commented 1 month ago

我前端抓到了返回的trees的json,不过看起来好像没有在界面上渲染 Screen Shot 2024-07-17 at 13 45 13

talkingwallace commented 1 month ago

可以考虑清理下浏览器缓存试试 之前有遇到过这种情况