Skip to main content

SmartNoise Evaluator

The SmartNoise Evaluator is designed to help assess the privacy and accuracy of differentially private queries. It includes:

  • Analyze: Analyze a dataset and provide information about cardinality, data types, independencies, and other information that is useful for creating a privacy pipeline
  • Evaluate: Compares the privatized results to the true results and provides information about the accuracy and bias

These tools currently require PySpark.

Analyze

Analyze provides metrics about a single dataset.

  • Percent of all dimension combinations that are unique, k < 5 and k < 10 (Count up to configurable “reporting length”)
  • Report which columns are “most linkable”
  • Marginal histograms up to n-way -- choose default with reasonable size (e.g. 10 per marginal, and up to 20 marginals -- allow override). Trim and encode labels.
  • Number of rows
  • Number of distinct rows
  • Count, Mean, Variance, Min, Max, Median, Percentiles for each marginal
  • Classification AUC
  • Individual Cardinalities
  • Dimensionality, Sparsity
  • Independencies

Evaluate

Evaluate compares an original data file with one or more comparison files. It can compare any of the single-file metrics computed in Analyze as well as a number of metrics that involve two datasets. When more than one comparison dataset is provided, we can provide all of the two-way comparisons with the original, and allow the consumer to combine these measures (e.g. average over all datasets)

  • How many dimension combinations are suppressed
  • How many dimension combinations are fabricated
  • How many redacted rows (fully redacted vs. partly redacted)
  • Mean error in the count across categories by 1-way, 2-way, etc.
  • Mean absolute error by 1-way, 2-way, etc. up to reporting length
    • Also do for user specified dimension combinations
    • Report by bin size (e.g., < 1000, >= 1000)
  • Mean proportional error by 1-way, 2-way, etc.

Metadata

Release files for smartnoise-eval 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for smartnoise-eval 0.3.1
File Size Uploaded Provenance Actions
smartnoise_eval-0.3.1.tar.gz 18.1 kB Without provenance Details for smartnoise_eval-0.3.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for smartnoise-eval 0.3.1
File Interpreter ABI Platform Actions
smartnoise_eval-0.3.1-py3-none-any.whl Python 3 none any Details for smartnoise_eval-0.3.1-py3-none-any.whl

Total release size: 40.7 kB

Release files / smartnoise_eval-0.3.1.tar.gz

Download URL smartnoise_eval-0.3.1.tar.gz
Size 18.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f4a49cf7ecc50f1c8110bb259e606d5033d9198823cdb5f662dcd9c0b7233f8a
BLAKE2b-256 checksum
How to use checksums
df5235d1c6a640e7ee4e663bd243a4a2183669eb023f59136a4af7493419fb88
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.13

Release files / smartnoise_eval-0.3.1-py3-none-any.whl

Download URL smartnoise_eval-0.3.1-py3-none-any.whl
Size 22.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d48c8921f944cfa8571b0db0461335b273178561f2ffba4d6e6d91b911dfe643
BLAKE2b-256 checksum
How to use checksums
dad4250ec4f1658401a8bf2595a2e7585b921304729dd72d507de1e3dface8c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.13

Security for smartnoise-eval 0.3.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page