MCPcopy Index your code
hub / github.com/lazyprogrammer/machine_learning_examples / main

Function main

unsupervised_class2/rbm.py:121–126  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

119
120
121def main():
122 Xtrain, Ytrain, Xtest, Ytest = getKaggleMNIST()
123 dnn = DNN([1000, 750, 500], UnsupervisedModel=RBM)
124 dnn.fit(Xtrain, Ytrain, Xtest, Ytest, epochs=3)
125
126 # we compare with no pretraining in autoencoder.py
127
128
129if __name__ == '__main__':

Callers 1

rbm.pyFile · 0.70

Calls 3

fitMethod · 0.95
getKaggleMNISTFunction · 0.90
DNNClass · 0.90

Tested by

no test coverage detected