Package: dsPUcopula 0.1.0
dsPUcopula: DataSHIELD Server Functions for Partition-of-Unity Copula Based Synthesis
Implements the server-side components required to generate privacy-protecting synthetic data in the DataSHIELD infrastructure. The package orchestrates the preprocessing, copula fitting, synthetic data generation and privacy scoring workflows by combining R and Python tooling.
Authors:
dsPUcopula_0.1.0.tar.gz
dsPUcopula_0.1.0.zip(r-4.7)dsPUcopula_0.1.0.zip(r-4.6)dsPUcopula_0.1.0.zip(r-4.5)
dsPUcopula_0.1.0.tgz(r-4.6-any)dsPUcopula_0.1.0.tgz(r-4.5-any)
dsPUcopula_0.1.0.tar.gz(r-4.7-any)dsPUcopula_0.1.0.tar.gz(r-4.6-any)
dsPUcopula_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
dsPUcopula/json (API)
| # Install 'dsPUcopula' in R: |
| install.packages('dsPUcopula', repos = c('https://amaendle.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/amaendle/dspucopula/issues
Last updated from:ce5cc23fb9. Checks:7 WARNING, 2 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | WARNING | 150 | ||
| source / vignettes | OK | 208 | ||
| linux-release-x86_64 | WARNING | 149 | ||
| macos-release-arm64 | WARNING | 105 | ||
| macos-oldrel-arm64 | WARNING | 67 | ||
| windows-devel | WARNING | 89 | ||
| windows-release | WARNING | 78 | ||
| windows-oldrel | WARNING | 79 | ||
| wasm-release | OK | 134 |
Exports:%>%estimateMarginalsDSfitPUcopulaDSgenerateSyntheticDSpostprocessDataDSpreprocessDataDSpy_anonymeter_Inferencepy_anonymeter_SinglingOutpy_syndat_scoressave_original_classesDSsave_original_varnamesDSsetup_pythonsimulateCopulaDS
Dependencies:admiscaskpassbackportsbitbit64bootbroomcaretcellrangerchildsdsclassclicliprclockcodetoolscolorspacecpp11crayoncurldata.tabledeldirDescToolsdiagramdigestdplyrdsBasee1071Exactexpmfarverforcatsforeachfsfuturefuture.applygamlssgamlss.datagamlss.distgenericsggplot2gldglmnetglobalsgluegowergtablehardhathavenherehmshttrinterpipredisobanditeratorsjomojsonliteKernSmoothlabelinglatticelavalifecyclelistenvlme4lmomlogsplinelubridatemagrittrMASSMatrixmatrixStatsmicemimeminqamitmlModelMetricsmsmmvtnormnlmenloptrnnetnumDerivopensslordinalpanparallellypillarpkgconfigplyrpngpolycorpracmaprettyunitspROCprodlimprogressprogressrproxyPUcopulapurrrpurrrlyrR6RANNrappdirsrbibutilsRColorBrewerRcppRcppEigenRcppTOMLRdpackreadrreadxlrecipesreformulasrematchreshape2reticulaterlangrootSolverpartrprojrootrstudioapiS7scalesshapesparsevctrsSQUAREMstringistringrsurvivalsystibbletidyrtidyselecttimechangetimeDatetzdbucminfutf8vctrsVGAMviridisLitevroomwithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Estimate marginal distributions for the fitted copula | estimateMarginalsDS |
| Fit the PU copula model on the server side | fitPUcopulaDS |
| Generate synthetic data and privacy scores | generateSyntheticDS |
| Restore the original factor structure after synthesis | postprocessDataDS |
| Helpers for preserving and restoring server-side metadata | preprocess_helpers |
| Prepare server-side data prior to copula fitting | preprocessDataDS |
| Run the Anonymeter inference attack evaluation | py_anonymeter_Inference |
| Run the Anonymeter singling out attack evaluation | py_anonymeter_SinglingOut |
| Compute utility scores using the 'syndat' Python module | py_syndat_scores |
| Capture the original server-side classes | save_original_classesDS |
| Capture the original server-side variable names | save_original_varnamesDS |
| Configure the Python environment used by dsPUcopula | setup_python |
| Draw samples from the fitted PUcopula model | simulateCopulaDS |
