gda-score / code

Tools for generating General Data Anonymity Scores (www.gda-score.org)
MIT License
7 stars 1 forks source link

make standard prior knowledge queries for bounty #49

Closed yoid2000 closed 4 years ago

yoid2000 commented 4 years ago

I want a prior knowledge call where I can specify:

yoid2000 commented 4 years ago

So a spec might look like this:

{
   'columns': ['col1', 'col2'], 
    'type': 'rowFrac' | 'userFrac' | 'colMatch' | 'colRange',
    'frac': 0.45,    # if rowFrac or userFrac, number between 0 and 1
    'col': 'column',        # if colMatch or colRange
    'values': [val1, val2, ...],             # if colMatch
    'range': [min, max],            # if colRange
}
yoid2000 commented 4 years ago

completed with pull #50

yoid2000 commented 4 years ago

done with pull #50