My attempts to create a functioning Restricted Boltzmann Machine. End goal: design an RBM for implementation as a photonic circuit at Mabuchi Lab, Stanford.