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

使用 SPU 计算 ANOVA F 统计量 #592

Open
Candicepan opened this issue Mar 8, 2024 · 4 comments
Open

使用 SPU 计算 ANOVA F 统计量 #592

Candicepan opened this issue Mar 8, 2024 · 4 comments
Assignees
Labels
enhancement New feature or request OSCP SecretFlow Open Source Contribution Plan

Comments

@Candicepan
Copy link
Contributor

Candicepan commented Mar 8, 2024

此 ISSUE 为 隐语开源共建计划(SecretFlow Open Source Contribution Plan,简称 SF OSCP)任务 ISSUE,欢迎社区开发者参与共建~
若有感兴趣想要认领的任务,但还未报名,辛苦先完成报名进行哈~

任务介绍

  • 任务名称:使用SPU计算ANOVA F统计量
  • 技术方向:SPU/SML
  • 任务难度:进阶🌟🌟
  • 任务完成时间:4周

详细要求

  • 安全性(尽量少 reveal)
  • 功能性:同时返回F统计量和对应的p value
  • 正确性:与sklearn的结果数值上基本一致(在可接受误差范围内)
  • 代码规范:Python 代码需要使用 black+isort 进行格式化(流水线包含代码规范检查卡点)
  • 提交说明:关联该 isuue 并提交代码至 https://github.com/secretflow/spu/tree/main/sml(具体提交文件夹可与reviewer讨论)
  • 特殊说明:若某个特性有特殊的限制,如需要 FM128,需要更多 fxp 等需要在注释文档中明确说明

能力要求

  • 熟悉经典的统计学理论
  • 熟悉 JAX 或 NumPy,可以使用 NumPy 实现算法

操作说明

@Candicepan Candicepan changed the title 使用 SPU 计算 ANOVA F 统计量[Feature]: 使用 SPU 计算 ANOVA F 统计量 Mar 8, 2024
@Candicepan Candicepan added enhancement New feature or request OSCP SecretFlow Open Source Contribution Plan labels Mar 8, 2024
@lizzy-0323
Copy link
Contributor

Give it to me.

@Yeekin-GYJ
Copy link

Give it to me.

感谢认领呀,任务完成过程中是有遇到问题可以在 issue 上直接反馈,也可以添加小助手微信:SecretFlow04 进行沟通 加入 OSCP 专属群聊,期待您的PR~

@lizzy-0323
Copy link
Contributor

我想问一下,这里f统计量的计算,应该是首先对数据按照特征划分,然后每个特征再按照label分成多个class进行anova统计量的计算,这样的理解对吗?

@deadlywing
Copy link
Contributor

我想问一下,这里f统计量的计算,应该是首先对数据按照特征划分,然后每个特征再按照label分成多个class进行anova统计量的计算,这样的理解对吗?

hi,anova的计算基本是先根据class划分group,然后计算统计量即可,至于你说的按照特征划分我觉得是没必要手动操作的,因为整个计算过程显然都是可以向量化的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request OSCP SecretFlow Open Source Contribution Plan
Projects
Status: In Progress
Development

No branches or pull requests

4 participants