Gaussian Mechanism Global DP for SKLearn Pipeline
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- python, scikit-learn
- Lĩnh vực
- machine-learning
Hướng nghiên cứu
Start with src/pydp/ml/mechanisms/sklearn_pipeline.py and the existing LaplaceMechanism implementation, then review examples/SKLearn_Pipeline/SKLearn_Pipeline_Laplace_Mechanism.ipynb. Compare the Local DP implementation with the requirements for Global DP and verify that GaussianMechanism can be inserted into an sklearn Pipeline as shown; done means the operator is available with the requested usage and a corresponding example works.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Feature Description
Enabling the use of Gaussian Mechanism for Local DP in SKLean Pipeline. This should be in the form of an "operator" that should be inserted between the layers in SKLearn's Pipeline class.
This is the Global DP Version of the already existing Gaussian Mechanism extension for Local DP mentioned in issue #387.
Additional Context
Current development for the SKLean Pipeline is in branch feature/machine-learning-1.
Preferably, the name of the "operator" imported from PyDP should be called GaussianMechanism. The use should be as seamless and convenient as possible in SKLearn's Pipeline class. For example:
pipe = Pipeline([
('scaler', StandardScaler()),
('nb', GaussianNB()),
('gaussian', GaussianMechanism()),
])
For more examples, please have look at the notebook example of Laplace Mechanism's implementation.
As starting guidance, please refer to the source code for LaplaceMechanism in here.
Note: The examples mentioned above are for Local DP. Laplace Mechanism's LocalDP implementation should provide a good starting point to figure out the Global DP's version.
- Ngôn ngữ chính
- Python
- Star
- 550
- Fork
- 143
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của OpenMined/PyDP
-
Type: New Feature :heavy_plus_sign:
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
-
Type: Question :grey_question:
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
-
Type: Question :grey_question:
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 32/100
-
Type: Improvement :chart_with_upwards_trend:
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
-
Type: New Feature :heavy_plus_sign:
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 38/100
Tất cả issue của OpenMined/PyDP
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
browser-use/browser-use#5905 ·
-
type: enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
ynput/ayon-python-api#363 ·
-
bug needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
modelscope/FunASR#3728 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
open-compass/opencompass#2655 ·