Skip to content

Commit

Permalink
examples third draft
Browse files Browse the repository at this point in the history
  • Loading branch information
antongiacomo committed Nov 15, 2023
1 parent 02db351 commit b5df59e
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 15 deletions.
1 change: 0 additions & 1 deletion experiment.tex
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ \section{Experiments}\label{sec:experiment}




\textbf{Generation of synthetic datasets from a public dataset:} Synthetic datasets were generated with the aim of testing the performance of the metrics. These datasets were preceded by perturbations designed to alter both the number of items using a purely quantitative approach and the statistical distribution of the dataset. The alterations involved multiple columns to assess the behavior of the weighted metrics.

\textbf{Identification of parameters:} To apply the modifications mentioned above, it was necessary to identify the parameters to be altered. Figure \ref{fig:distributions} shows plots of the statistical distributions and features involved in the identification process.
Expand Down
2 changes: 2 additions & 0 deletions main.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@
\usepackage{cite}
\usepackage{graphicx}
\usepackage{psfrag}

\usepackage{subfigure}
\usepackage{url}
\usepackage{color}
\usepackage{balance}
\usepackage[all]{xy}
\usepackage{xspace}
\usepackage{listings}
\usepackage{adjustbox}
\usepackage{array,booktabs,arydshln,xcolor}
\usepackage{tikz}
\usetikzlibrary{shapes,patterns,calc,shapes.geometric,arrows}
Expand Down
59 changes: 45 additions & 14 deletions pipeline_template_example.tex
Original file line number Diff line number Diff line change
Expand Up @@ -42,26 +42,57 @@ \subsection{Example}\label{sec:example}

\begin{table*}[ht!]
\centering
\caption{Anonymization policies}
\label{tab:anonymization}
\bgroup
\def\arraystretch{1.5}
\begin{tabular}{c|c||l}
\textbf{Policy} & \textbf{Service} & \textbf{Anonymization} \\ \hline

$\p{1}$ & \s{1} & \policy{$\langle service,owner=``CTP"\rangle$}{dataset}{READ}{ANY}{\varnothing} \\
$\p{2}$ & \s{1} & \policy{$\langle service,owner=partner(``CTP") \rangle$}{dataset}{READ}{ANY}{light\_anonymization} \\
$\p{3}$ & \s{1} & \policy{$\langle service,owner=``Connecticut Prison"$}{dataset}{READ}{ANY}{full\_anonymization} \\
$\p{4}$ & \s{4} & \policy{ANY}{dataset}{READ}{ANY}{full\_anonymization} \\
$\p{5}$ & \s{5} & \policy{$\langle service,region=``FACILITY"\rangle$}{dataset}{WRITE}{ANY}{none} \\
$\p{6}$ & \s{5} & \policy{$\langle service,region=``{CT,NY,NH}"\rangle$}{dataset}{WRITE}{ANY}{light\_anonymization} \\
$\p{7}$ & \s{6} & \policy{$\langle,user,role= ``Connecticut Prison Officer"$}{dataset} {READ}{ANY}{none} \\
$\p{7}$ & \s{6} & \policy{$\langle,user,role= ``Partener Prison Officer"$}{dataset} {READ}{ANY}{light\_anonymization} \\
$\p{8}$ & \s{6} & \policy{$\langle,user,role= ``Any"$}{dataset} {READ}{ANY}{full\_anonymization} \\

\begin{tabular}[t]{c|c|l}
\textbf{Service} & \textbf{Policy} & \textbf{\policy{subject}{object}{action}{environment}{transformation}} \\ \hline

\vi{1} & $\p{1}$ & \policy{$\langle service,owner=``CTP"\rangle$}{dataset}{READ}{ANY}{ \tf{1} } \\
\vi{1} & $\p{2}$ & \policy{$\langle service,owner=partner(``CTP") \rangle$}{dataset}{READ}{ANY}{ \tf{2} } \\
\vi{1} & $\p{3}$ & \policy{$\langle service,owner=``Connecticut Prison"$}{dataset}{READ}{ANY}{ \tf{3} } \\
\vi{4} & $\p{4}$ & \policy{ANY}{dataset}{READ}{ANY}{ \tf{3} } \\
\vi{5} & $\p{5}$ & \policy{$\langle service,region=``FACILITY"\rangle$}{dataset}{WRITE}{ANY}{ \tf{1} } \\
\vi{5} & $\p{6}$ & \policy{$\langle service,region=``{CT,NY,NH}"\rangle$}{dataset}{WRITE}{ANY}{ \tf{2} } \\
\vi{6} & $\p{7}$ & \policy{$\langle user,role= ``Connecticut Prison Officer"$}{dataset} {READ}{ANY}{ \tf{1} } \\
\vi{6} & $\p{7}$ & \policy{$\langle user,role= ``Partener Prison Officer"$}{dataset} {READ}{ANY}{ \tf{2} } \\
\vi{6} & $\p{8}$ & \policy{$\langle user,role= ``Any"$}{dataset} {READ}{ANY}{ \tf{3} } \\
\end{tabular}

\begin{tabular}[t]{c|c|c}
\textbf{\tf{i}} & \textbf{Transformation} & \textbf{Columns Anonymized} \\\hline
\tf{1} & none & $\varnothing$ \\
\tf{2} & light\_anonymization & \{ FIRST NAME, LAST NAME \} \\
\tf{3} & full\_anonymization & \{ FIRST NAME, LAST NAME, IDENTIFIER,AGE \} \\
\end{tabular}

\egroup
\caption{Anonymization policies}
\label{tab:anonymization}
\end{table*}
\vspace{2em}
\begin{table*}[!ht]
\centering
\begin{adjustbox}{max totalsize={.99\linewidth}{\textheight},center}
\bgroup
\def\arraystretch{1.5}
\begin{tabular}{|l|l|l|l|l|l|l|l|l|l|l|l|}
\hline
\textbf{DOWNLOAD DATE} & \textbf{IDENTIFIER} & \textbf{LAD} & \textbf{RACE} & \textbf{GENDER} & \textbf{AGE} & \textbf{BOND} & \textbf{OFFENSE} & \textbf{\dots} & \textbf{FIRST NAME} & \textbf{LAST NAME} \\ \hline
05/15/2020 & ZZHCZBZZ & 08/16/2018 & BLACK & M & 27 & 150000 & CRIMINAL POSS \dots & \dots & ROBERT & PIERCE \\ \hline
05/15/2020 & ZZHZZRLR & 03/28/2019 & HISPANIC & M & 41 & 30100 & VIOLATION OF P\dots & \dots & KYLE & LESTER \\ \hline
05/15/2020 & ZZSRJBEE & 04/03/2020 & HISPANIC & M & 21 & 150000 & CRIMINAL ATTEM\dots & \dots & JASON & HAMMOND \\ \hline
05/15/2020 & ZZHBJLRZ & 01/15/2020 & WHITE & M & 36 & 50500 & CRIM VIOL OF P\dots & \dots & ERIC & TOWNSEND \\ \hline
05/15/2020 & ZZSRRCHH & 12/26/2018 & HISPANIC & M & 29 & 100000 & CRIMINAL ATTEM\dots & \dots & MICHAEL & WHITE \\ \hline
05/15/2020 & ZZEJCZWW & 01/03/2020 & WHITE & M & 54 & 100000 & CRIM VIOL OF P\dots & \dots & JOHN & HARPER \\ \hline
05/15/2020 & ZZHJBJBR & 03/19/2020 & HISPANIC & M & 35 & 100000 & CRIM VIOL ST C\dots & \dots & KENNETH & JUAREZ \\ \hline
05/15/2020 & ZZESESZW & 12/03/2018 & WHITE & M & 55 & 50000 & ASSAULT 2ND, V\dots & \dots & MICHAEL & SANTOS \\ \hline
05/15/2020 & ZZRCSHCZ & 05/13/2020 & BLACK & M & 43 & 10000 & INTERFERING WIT\dots & \dots & CHRISTOPHER & JONES \\ \hline
\end{tabular}
\egroup
\end{adjustbox}

\end{table*}
\begin{figure}[ht!]
\centering
\begin{tikzpicture}[scale=0.85]
Expand Down

0 comments on commit b5df59e

Please sign in to comment.