Update README.md
This commit is contained in:
parent
6215d2672f
commit
36c1882cf1
17
README.md
17
README.md
|
@ -1,20 +1,23 @@
|
|||
# ABSyn: An Accurate Differentially Private Data Synthesis Scheme with Adaptive Selection and Batch Processes
|
||||
# ABSyn: 具有自适应选择和批处理功能的差分隐私数据合成方案
|
||||
|
||||
## 介绍
|
||||
|
||||
ABSyn 是一种差分隐私数据合成方案,它以表格数据集为输入,并输出相同格式的合成数据集。
|
||||
|
||||
## Install ABSyn
|
||||
## 安装 ABSyn
|
||||
|
||||
The code can be executed in Python 3.6.9.
|
||||
该代码可以在Python 3.6.9中执行。
|
||||
|
||||
The dependencies of this project can be installed with pip as follows:
|
||||
这个项目的依赖项可以用pip安装如下:
|
||||
|
||||
$ pip install -r requirements.txt
|
||||
|
||||
Additionally, you have to add the src folder to the PYTHONPATH. If you are using Ubuntu, add the following line to your .bashrc file:
|
||||
此外,您必须将src文件夹添加到PYTHONPATH。如果您使用的是Ubuntu系统,在你的.bashrc文件中添加以下一行:
|
||||
PYTHONPATH=$PYTHONPATH:/path/to/ABSyn/src
|
||||
|
||||
Once this is done, test the scheme by the following code:
|
||||
完成后,使用以下代码测试该方案:
|
||||
|
||||
$ python ABSyn.py
|
||||
$ python ABSyn.py
|
||||
|
||||
项目的测试数据集存储在datasets文件夹下
|
||||
合成数据集将在ABSyn.py所在的目录下生成
|
||||
|
|
Loading…
Reference in New Issue