Laplace Mechanism Global DP for SKLearn Pipeline
@ndcroos ci sta già lavorando.
Dal 22/8/2023.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 28/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- python, scikit-learn
- Ambito
- machine-learning
Direzione di ricerca
Read src/pydp/ml/mechanisms/sklearn_pipeline.py and the linked SKLearn_Pipeline_Laplace_Mechanism.ipynb, using the existing Local DP LaplaceMechanism as the starting point. Review the feature/machine-learning-1 branch context and confirm that a global-DP LaplaceMechanism can be inserted into an sklearn Pipeline with the requested import and usage.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Feature Description
Enabling the use of Laplace 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 Laplace Mechanism extension for Local DP.
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 LaplaceMechanism. The use should be as seamless and convenient as possible in SKLearn's Pipeline class. For example:
pipe = Pipeline([
('scaler', StandardScaler()),
('nb', GaussianNB()),
('laplace', LaplaceMechanism()),
])
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.
- Lingua principale
- Python
- Stelle
- 551
- Fork
- 142
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di OpenMined/PyDP
-
Type: Bug :bug:
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
-
Type: New Feature :heavy_plus_sign:
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
-
Type: Question :grey_question:
Difficoltà 3/5 1-2 giorni Idoneità per principianti 25/100
-
Type: Question :grey_question:
Difficoltà 4/5 3-5 giorni Idoneità per principianti 32/100
-
Raise different errors based on the error code returned from the DP LibraryForse già presa @kalra-mohit l’ha presa 93 giorni fa. ApertaType: Improvement :chart_with_upwards_trend:
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
Tutte le issue di OpenMined/PyDP
Issue simili
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
fossasia/visdom-dev#69 ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
Frontend build fails with Frappe version-16: DataImport is no longer exported by @framework/uiApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
BUG: PROD: v1.3.0-beta Onboarding Profile Picture Misaligns When Name Validation Error AppearsForse già presa @RitikaSen27 l’ha presa oggi. Apertabug good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
AOSSIE-Org/PictoPy#1647 · 2 commenti ·
I maintainer di solito rispondono entro 2 giorni
-
[oblt-aw][autodoc] Update workflow docs for gh-aw v0.92.5 and detector permission scopeForse già presa @github-actions l’ha presa oggi. Aperta
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno