使用SPU实现Robust Scaler预处理算法
此 ISSUE 为 隐语开源共建计划(SecretFlow Open Source Contribution Plan,简称 SF OSCP)任务 ISSUE,欢迎社区开发者参与共建~ 若有感兴趣想要认领的任务,但还未报名,辛苦先完成报名进行哈~
任务介绍
- 任务名称: 使用SPU实现Robust Scaler预处理算法
- 技术方向: SPU/SML
- 任务难度: 热身🌟
- 任务期望时间: 2-3 周
详细要求
- 安全性: 无reveal
- 功能性: 实现与sklearn中相同的功能集合,包括centering,scaling,指定分位数点,单位方差等
- 收敛性: 包含 simulator 跑出的实验数据并且证明收敛/正确性
- 代码规范: Python 代码需要使用 black+isort 进行格式化(流水线包含代码规范检查卡点)
- 提交说明: 关联该 isuue 并提交代码至https://github.com/secretflow/spu/tree/main/sml (具体目录位置请与reviewer讨论)
- 特殊说明: 若某个特性有特殊的限制,如需要 FM128,需要更多 fxp 等需要在注释文档中明确说明
能力要求
- 熟悉经典的机器学习算法
- 熟悉 JAX 或 NumPy,可以使用 NumPy 实现算法
操作说明
- 可参考: https://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.RobustScaler.html
- 操作指引: https://www.secretflow.org.cn/docs/spu/latest/en-US/getting_started/tutorials/develop_your_first_mpc_application
- 范例: https://github.com/secretflow/spu/blob/main/sml/linear_model/simple_sgd.py
- 可参考隐语mooc2期视频: ○ https://www.bilibili.com/video/BV1ba4y1S73z/?spm_id_from=333.788 ○ https://www.bilibili.com/video/BV1Qe411D7MG/?spm_id_from=333.788
- 贡献指引文档: https://github.com/secretflow/spu/blob/main/sml/development.md
Give it to me
docker下载镜像报错: [root@localhost user]# docker pull secretflow/ubuntu-base-ci:latest latest: Pulling from secretflow/ubuntu-base-ci a8b1c5f80c2d: Retrying in 1 second 18b01077408d: Retrying in 1 second 19340cdefd4a: Retrying in 1 second 4f4fb700ef54: Waiting c6816b250363: Waiting eb2219bf5c83: Waiting cec283e15e4b: Waiting 794c34236a27: Waiting error pulling image configuration: download failed after attempts=6: dial tcp 104.244.43.136:443: connect: connection refused
这个是访问 dockerhub 的网络问题,不是镜像本身的问题
经沟通,改任务申请完成时间延期一月至 2024/9/6 ~期间有任务问题欢迎随时联系呀~ @Tonytan123 cc @tpppppub @deadlywing
经沟通,感谢 @Tonytan123 的支持,因时间安排问题,该任务暂回收。欢迎其他社区用户对此任务感兴趣的进行认领呀~
38832234 Give it to me
38832234 Give it to me
Hello~Congratulations on successfully claiming this task, and thank you for your support of the OSCP! Please complete your contribution within two weeks, otherwise, the task will be released. If you have any questions, please let us know. 😄
恭喜你成功认领了该任务,感谢对 OSCP 的支持~请在 2周内完成该任务贡献,否则,该任务将会被释放哦~如果你有任何疑问,请告知我们~😄