Answers.Body: <p>I don't know if you are looking for something in a library, but I've found <a href="https://github.com/jackklys/wake-sleep-modifications/blob/master/wakesleep/ws.py" rel="nofollow noreferrer">this</a> in a public Github (I've not checked deeply if it fits for you).</p>
  
  <p>I hope that's what you're looking for.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-03-06T17:47:02.390Z
Answers.Text: That's definitely a start thank you! However it seems to build on tensor flow which is something I would like to avoid.
Answers.UserDisplayName: donkey
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-03-06T10:45:51.243Z
Answers.LastActivityDate: 2019-03-06T10:45:51.243Z
Answers.UserDisplayName: Angelo
Answers.Body: <p>I found the following detailed and well documented <a href="https://github.com/vadim0x60/wakesleep/blob/master/WakeSleep.ipynb" rel="nofollow noreferrer">Python notebook</a>, which uses only NumPy.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-05-22T14:49:23.757Z
Answers.LastActivityDate: 2019-11-18T18:54:56.627Z
Answers.LastEditDate: 2019-11-18T18:54:56.627Z
Answers.UserDisplayName: TheCG
Body: <p>I'm looking to build from scratch an implementation of the <a href="https://www.cs.toronto.edu/~hinton/absps/ws.pdf" rel="nofollow noreferrer">wake-sleep algorithm</a>, for unsupervised learning with neural networks. I plan on doing this in Python in order to better understand how it works. In order to facilitate my task, I was wondering if anyone could point me to an existing (open-source) implementation of this concept. I'm also looking for articles or, in general, resources that could facilitate this task.</p>
  
Tags: <neural-networks><python><unsupervised-learning><resource-request><wake-sleep-algorithm>
Title: Where can I find an implementation of the wake-sleep algorithm?
UserDisplayName: donkey
ThreadText: # Where can I find an implementation of the wake-sleep algorithm?
  
  (Asked by: username_0 on 2019-03-05)
  
  I'm looking to build from scratch an implementation of the [wake-sleep algorithm](https://www.cs.toronto.edu/~hinton/absps/ws.pdf), for unsupervised learning with neural networks. I plan on doing this in Python in order to better understand how it works. In order to facilitate my task, I was wondering if anyone could point me to an existing (open-source) implementation of this concept. I'm also looking for articles or, in general, resources that could facilitate this task.
  
  **Tags:** neural-networks, python, unsupervised-learning, resource-request, wake-sleep-algorithm
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2019-05-22. Score: 3 | Accepted answer
  
  I found the following detailed and well documented [Python notebook](https://github.com/vadim0x60/wakesleep/blob/master/WakeSleep.ipynb), which uses only NumPy.
  
  
  ---
  
  ### Answer by username_1 on 2019-03-06. Score: 1
  
  I don't know if you are looking for something in a library, but I've found [this](https://github.com/jackklys/wake-sleep-modifications/blob/master/wakesleep/ws.py) in a public Github (I've not checked deeply if it fits for you).
  
  I hope that's what you're looking for.
  
  > **Comments:**
  > **username_0**: That's definitely a start thank you! However it seems to build on tensor flow which is something I would like to avoid.  
  
  ---
  
  