Skip to content

Instantly share code, notes, and snippets.

@NMZivkovic
Created October 19, 2018 17:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NMZivkovic/41328b688a2bd0d9388d3b0a0d11600e to your computer and use it in GitHub Desktop.
Save NMZivkovic/41328b688a2bd0d9388d3b0a0d11600e to your computer and use it in GitHub Desktop.
from rbmtf import RBM
import numpy as np
test = np.array([[0,1,1,0], [0,1,0,0], [0,0,1,1]])
rbm = RBM(4, 3, 0.1, 100)
rbm.train(test)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment