k匿名隐私保护算法python版

时间:2022-05-12 11:16:17
【文件属性】:
文件名称:k匿名隐私保护算法python版
文件大小:143KB
文件格式:ZIP
更新时间:2022-05-12 11:16:17
k匿名 大数据 隐私保护 K-Anonymity要求对于任意一行纪录,其所属的相等集内纪录数量不小于k,即至少有k-1条纪录半标识列属性值与该条纪录相同。
【文件预览】:
K-Anonymity-master
----.gitignore(1KB)
----data()
--------attribute_age(48B)
--------data.txt(145B)
--------attribute_sex(19B)
--------Anonymity.txt(446B)
--------attribute(12B)
--------attribute_job(88B)
----src()
--------K_Anonymity.py(2KB)
--------__init__.py(0B)
--------tree.py(735B)
--------model.py(6KB)
----README.md(14B)
----.idea()
--------misc.xml(212B)
--------workspace.xml(47KB)
--------vcs.xml(180B)
--------boyi.iml(606B)
--------modules.xml(260B)
----.gitattributes(66B)
----test()
--------mul-test()
--------attribute_weight.txt(2KB)
--------Disease()

网友评论

  • 垃圾 #毫无价值 #运行出错
  • 楼主,跑不出来呀,在报错,yntaxError: Non-ASCII character '\xe5' in file C:/Users/ANAN/Desktop/privacy/K-Anonymity-master/test/Disease/data/CreatData.py on line 46, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
  • 能替我分析一下代码么?
  • 似乎缺少treelb.py文件,无法运行