Skip to content
Snippets Groups Projects
Commit bdae9ded authored by Tobias Winkler's avatar Tobias Winkler
Browse files

Update README.md

parent 3ed0c049
No related branches found
No related tags found
No related merge requests found
......@@ -17,10 +17,12 @@ Activate the virtual environment where prodigy should be installed, then type
```pip install .```
within the prodigy root folder.
## Usage
```
import prodigy
dist = prodigy.geometric("x", "1/2")
e = dist.E("x") # e becomes 2
'''
e = dist.E("x") # e becomes 1, the expected value of the 1/2-geometric distribution
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment