Skip to content

在 SPU 中实现mutual_info_score #1147

@Candicepan

Description

@Candicepan

此 ISSUE 为 隐语开源共建计划(SecretFlow Open Source Contribution Plan,简称 SF OSCP)Phase 5 任务 ISSUE,欢迎社区开发者参与共建~

This ISSUE is one of the tasks of the SecretFlow Open Source Contribution Plan (referred to as SF OSCP) Phase 5. Welcome to join us in building it together!

任务介绍

基于JAX API实现mutual_info_score算法,并且使用SPU在密态下运行;

  • 任务名称:在 SPU 中实现mutual_info_score
  • 技术方向:SPU/SML
  • 任务难度:热身🌟
  • 任务预估完成时间:2周
  • 任务 Reviewer:deadlywing

详细要求

  • 安全性(尽量少 reveal)
  • 功能性:
  • 正确性:包含 simulator 跑出的实验数据并且和明文程序比较,结果相近
  • 代码规范:Python 代码需要使用 black+isort 进行格式化(流水线包含代码规范检查卡点)
  • 提交说明:关联该 issue 并提交代码至 https://github.com/secretflow/spu/tree/main/sml/metrics/cluster (若无此目录,则创建一个)
  • 特殊说明:若某个特性有特殊的限制,如需要 FM128,需要更多 fxp 等需要在注释文档中明确说明

能力要求

  • 熟悉经典的机器学习算法
  • 熟悉 JAX 或 NumPy,可以使用 NumPy 实现算法

操作说明


Metadata

Metadata

Assignees

No one assigned

    Labels

    OSCPSecretFlow Open Source Contribution Plangood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions