Skip to content
This repository has been archived by the owner on Jul 11, 2024. It is now read-only.

A framework for validating PET enhanced data #多元創新司 #電信技術中心

Notifications You must be signed in to change notification settings

moda-gov-tw/PETWorks-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PETWorks-framework

A framework for validating PET enhanced data.

Data Privacy is the keystone promoting stronger and deeper analysis of problem in our society. PET (Privacy Enhancing Technology) is a great helper for making all these happened. However, a trust-worthy and easy-to-use validation tool for PET is still rare.

Here we provide a framework dealing with the validation problem of PET enhanced data.

How it works?

Module Description
PET Enhanced Data Process This module aims to load and process (e.g. recover) PET-enhanced data accordingly to the data and the PET it used.
PET Validation This module has validation methodologies built in. Returning the result of the validation.
Report This module handles the output format of the report. It could be text-based on the terminal or GUI-based showing on the web browser.

How to install?

System Requirements:

  • Python 3.8 or later
  • Java 8 or later

Installation Instructions:

To install, open a terminal in the directory and enter the following command:

pip install -r requirement.txt

APIs

Showcase

Validate the Federated Learning Enhanced Data

from PETWorks import dataProcess, PETValidation, report

gradient = "datasets/grad.pt"
model = "datasets/net.pth"
originalData = "datasets/original_image.png"

recoveredData = dataProcess(model, gradient, "FL", "recover")
result = PETValidation(recoveredData, originalData, "FL")
report(result, "web")

Web Report

Here is the showcase of the web report.

The web report also shows the process of recovery.

Current Status

This project is now maintained by Telecom Technology Center, Taiwan. We're now providing just a really simple showcase demonstrating how we can use this framework to validate PET protection of the data using the technology of federated learning. We still need plenty of implementation for every module. This is a very early stage project. Stay tuned!

About

A framework for validating PET enhanced data #多元創新司 #電信技術中心

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published