Skip to content

Commit

Permalink
Import assets from private repo (pyladiesams#1)
Browse files Browse the repository at this point in the history
Co-authored-by: Giulia Caglia <[email protected]>
  • Loading branch information
gCaglia and Giulia Caglia authored May 27, 2023
1 parent 51c6202 commit c3f6ddb
Show file tree
Hide file tree
Showing 11 changed files with 149,834 additions and 13 deletions.
26 changes: 19 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,32 @@
# An Introduction to Pyro

# An introduction to { YOUR TOPIC } or A deep dive into { YOUR TOPIC }
### Presentation: [Presentation_name](workshop/Presentation_template.pptx)

## Workshop description
Describe why your topic is important and what you want to share with your audience

In this workshop we will go through an introduction of the popular framework for probabilistic programming that is Uber's Pyro.
Participants will learn how to introduce regularization and prior assumptions into a model, at first for a simple use case of Bayesian Linear Regression and later in a introduction to deep generative models with Pyro.

As Pyro is built on PyTorch, some prior knowledge of PyTorch can be useful.
Feel free to check out the PyLadies' previous introduction to the topic:
https://github.com/pyladiesams/deepLearningPyTorch-beginner-nov2022

## Requirements
Do not forget to indicate Python version and any other tools
+ add requirements.txt or conda.yml or docker image or Binder/Google Collab link

- Python 3.8 or higher
- Jupyter notebook or jupyter-lab
- [Optional] graphviz for visualization of models
- Can be installed e.g. on Ubuntu with `sudo apt install graphviz`

## Usage
* Clone the repository
* Start { TOOL } and navigate to the workshop folder

- Clone the repository
- Install the required dependencies with `pip3 install -r requirements.txt`

## Video record

Re-watch [this YouTube stream](link)

## Credits
This workshop was set up by @pyladiesams and {your github handler}

This workshop was set up by @pyladiesams and GiuliaCaglia.
Binary file added assets/media_prepped.parquet
Binary file not shown.
Binary file added assets/sales_prepped.parquet
Binary file not shown.
3,247 changes: 3,247 additions & 0 deletions poetry.lock

Large diffs are not rendered by default.

28 changes: 28 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
[tool.poetry]
name = "introduction-to-pyro-pyladies"
version = "0.1.0"
description = ""
authors = ["Giulia Caglia"]
readme = "README.md"
packages = [{include = "introduction_to_pyro_pyladies"}]

[tool.poetry.dependencies]
python = ">=3.8,<4.0"
pyro-ppl = "^1.8.4"
pandas = "^2.0.0"
scikit-learn = "^1.2.2"
pyarrow = "^12.0.0"
graphviz = "^0.20.1"
plotly = "^5.14.1"
seaborn = "^0.12.2"
torchvision = "^0.15.2"
torchsummary = "^1.5.1"

[tool.poetry.group.dev.dependencies]
jupyterlab = "^3.0.0"
jupyter-black = "^0.3.4"
black = "^23.3.0"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
45 changes: 45 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
certifi==2023.5.7 ; python_version >= "3.8" and python_version < "4.0"
charset-normalizer==3.1.0 ; python_version >= "3.8" and python_version < "4.0"
colorama==0.4.6 ; python_version >= "3.8" and python_version < "4.0" and platform_system == "Windows"
contourpy==1.0.7 ; python_version >= "3.8" and python_version < "4.0"
cycler==0.11.0 ; python_version >= "3.8" and python_version < "4.0"
filelock==3.12.0 ; python_version >= "3.8" and python_version < "4.0"
fonttools==4.39.4 ; python_version >= "3.8" and python_version < "4.0"
graphviz==0.20.1 ; python_version >= "3.8" and python_version < "4.0"
idna==3.4 ; python_version >= "3.8" and python_version < "4.0"
importlib-resources==5.12.0 ; python_version >= "3.8" and python_version < "3.10"
jinja2==3.1.2 ; python_version >= "3.8" and python_version < "4.0"
joblib==1.2.0 ; python_version >= "3.8" and python_version < "4.0"
kiwisolver==1.4.4 ; python_version >= "3.8" and python_version < "4.0"
markupsafe==2.1.2 ; python_version >= "3.8" and python_version < "4.0"
matplotlib==3.7.1 ; python_version >= "3.8" and python_version < "4.0"
mpmath==1.3.0 ; python_version >= "3.8" and python_version < "4.0"
networkx==3.1 ; python_version >= "3.8" and python_version < "4.0"
numpy==1.24.3 ; python_version >= "3.8" and python_version < "4.0"
opt-einsum==3.3.0 ; python_version >= "3.8" and python_version < "4.0"
packaging==23.1 ; python_version >= "3.8" and python_version < "4.0"
pandas==2.0.1 ; python_version >= "3.8" and python_version < "4.0"
pillow==9.5.0 ; python_version >= "3.8" and python_version < "4.0"
plotly==5.14.1 ; python_version >= "3.8" and python_version < "4.0"
pyarrow==12.0.0 ; python_version >= "3.8" and python_version < "4.0"
pyparsing==3.0.9 ; python_version >= "3.8" and python_version < "4.0"
pyro-api==0.1.2 ; python_version >= "3.8" and python_version < "4.0"
pyro-ppl==1.8.4 ; python_version >= "3.8" and python_version < "4.0"
python-dateutil==2.8.2 ; python_version >= "3.8" and python_version < "4.0"
pytz==2023.3 ; python_version >= "3.8" and python_version < "4.0"
requests==2.31.0 ; python_version >= "3.8" and python_version < "4.0"
scikit-learn==1.2.2 ; python_version >= "3.8" and python_version < "4.0"
scipy==1.9.3 ; python_version >= "3.8" and python_version < "4.0"
seaborn==0.12.2 ; python_version >= "3.8" and python_version < "4.0"
six==1.16.0 ; python_version >= "3.8" and python_version < "4.0"
sympy==1.12 ; python_version >= "3.8" and python_version < "4.0"
tenacity==8.2.2 ; python_version >= "3.8" and python_version < "4.0"
threadpoolctl==3.1.0 ; python_version >= "3.8" and python_version < "4.0"
torch==2.0.1 ; python_version >= "3.8" and python_version < "4.0"
torchsummary==1.5.1 ; python_version >= "3.8" and python_version < "4.0"
torchvision==0.15.2 ; python_version >= "3.8" and python_version < "4.0"
tqdm==4.65.0 ; python_version >= "3.8" and python_version < "4.0"
typing-extensions==4.6.1 ; python_version >= "3.8" and python_version < "4.0"
tzdata==2023.3 ; python_version >= "3.8" and python_version < "4.0"
urllib3==2.0.2 ; python_version >= "3.8" and python_version < "4.0"
zipp==3.15.0 ; python_version >= "3.8" and python_version < "3.10"
Loading

0 comments on commit c3f6ddb

Please sign in to comment.