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

Function main

unsupervised_class2/autoencoder.py:230–237  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

228
229
230def main():
231 Xtrain, Ytrain, Xtest, Ytest = getKaggleMNIST()
232 # dnn = DNN([1000, 750, 500])
233 # dnn.fit(Xtrain, Ytrain, Xtest, Ytest, epochs=3)
234 # vs
235 dnn = DNN([1000, 750, 500])
236 dnn.fit(Xtrain, Ytrain, Xtest, Ytest, pretrain=True, train_head_only=False, epochs=3)
237 # note: try training the head only too! what does that mean?
238
239
240def test_single_autoencoder():

Callers 1

autoencoder.pyFile · 0.70

Calls 3

fitMethod · 0.95
getKaggleMNISTFunction · 0.90
DNNClass · 0.70

Tested by

no test coverage detected