Skip to content

hchen19/privacygp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Privacy-aware GP

This repository provides an implementation of privacy-aware Gaussian processes built on PyTorch.

Requirements

  • Python >= 3.10
  • Dependencies are managed through pyproject.toml

Usage

To reproduce the experiments, run the following commands step by step in your terminal:

  1. Clone the repository or download the folder, ensure you are in the privacygp directory

  2. Create and activate a virtual environment:

python -m venv .env
source .env/bin/activate
  1. Upgrade pip and setuptools to ensure compatibility:
pip install --upgrade pip setuptools wheel
  1. Install the package and all dependencies:
pip install .
  1. Run the experiments

Example

  • To reproduce the example 1 in Figure 1, run the following command
    python experiments/example.py

Experiments

Satellite simulation

  • To reproduce the satellite simulation in Figure 2, 3, 4 and Table 2, run the following command

    python experiments/satellite_simulation.py
  • To reproduce the satellite simulation with zero-mean GP in Figure 5, run the following command

    python experiments/zeromean_satellite_simulation.py

Real-world application (Census dataset)

  • To reproduce the real-world application on the PUMS Data provided by the U.S. Census Bureau in Figure 6, 7 and Table 3, run the following command
    python experiments/census.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages