Improved the Example structure#224
Conversation
|
|
||
| In this directory, we give a simple example of how to use the Python Differential | ||
| Privacy library. | ||
| ## Curated list of Tutorials and Sample code for PyDP! |
There was a problem hiding this comment.
We can paraphrase it to "A Curated List of PyDP tutorials with code sample".
| the animals as many carrots as they desire. The animals record how many carrots | ||
| they have eaten per day. For this particular day, the number of carrots eaten | ||
| can be seen in `animals_and_carrots.csv`. | ||
| ### Tutorials |
There was a problem hiding this comment.
no need create extra title called Tutorials
| each day, so he knows how many to order the next day. The animals are fearful | ||
| that Alex will use the data against their best interest. For example, Alex could | ||
| get rid of the animals who eat the most carrots! | ||
| #### Carrots Demo |
There was a problem hiding this comment.
number it (maybe later when we have the restautant demo)
There was a problem hiding this comment.
we have "error handling" as example 2 so better number them as - 1 and 2 respectively.
| animals can control the risk that Alex will identify individuals' data while | ||
| maintaining an adequate level of accuracy so that Alex can continue to run the | ||
| zoo effectively. | ||
| This is the first example using the PyDP, about animals using the library to aggregate their data (about how many carrots they have eaten) before reporting it to their owner. More about it [here](carrots_demo/README.md). |
There was a problem hiding this comment.
"about animals using the library" ???? we want to give an idea of what the example is about - so can put it like this
"Farmer Alex's zoo has around 182 animals. Every day, Alex feeds the animals as many carrots as they desire. The animals record how many carrots they have eaten per day. At the end of each day, Alex often asks aggregate questions about how many carrots everyone ate. The animals decided to use Differential Privacy Library to preserve their privacy. Learn more about it [here]."
|
|
||
| Each row in `animals_and_carrots.csv` is composed of the name of an animal, and | ||
| the number of carrots it has eaten, comma-separated. | ||
| ### Example |
There was a problem hiding this comment.
I think we can push tutorials folder to examples folder - for better understanding and leave error handling in the example folder
| @@ -0,0 +1,42 @@ | |||
| # Example using Differential Privacy library | |||
There was a problem hiding this comment.
I don't think we need to specify it again but i guess it's ok!
Description
Please include a summary of the change, the motivation, and any additionl context that will help others understand your PR. If it closes one or more open issues, please tag them as described here.
Affected Dependencies
List any dependencies that are required for this change.
How has this been tested?
Checklist