Skip to content

Dharmik1710/L-diversity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

k-anonimity

Very simple and basic Implementation of k-anonimity

The implementation of k-anonimity is done in python.

Race is taken as the sensitive attribute in this data.

There are four parts of this algorithm

  1. Read and store the data from the .data file into a python hash table with key as the attributes and their values as values from file.
  2. Categories the given data into equivalent classes such that they are k-anonimity
  3. Generalize the records in equivalent classes using bottum up generalizatio algorithm.
  4. Store the k-anonimity data in .data file.

Releases

No releases published

Packages

No packages published

Languages