Skip to content

Instantly share code, notes, and snippets.

@vrjkmr
Created September 4, 2017 03:15
Show Gist options
  • Save vrjkmr/7c424e73f0c71c7ebe019a7435a104cf to your computer and use it in GitHub Desktop.
Save vrjkmr/7c424e73f0c71c7ebe019a7435a104cf to your computer and use it in GitHub Desktop.
# Running our model
train = fashion_mnist.train
test = fashion_mnist.test
parameters = model(train, test, learning_rate=0.0005)
'''
Output:
Cost after epoch 0: 0.5206283370382022
Cost after epoch 1: 0.3820550605650376
Cost after epoch 2: 0.34153786860623253
Cost after epoch 3: 0.31786914036649366
Cost after epoch 4: 0.2977991391849362
Cost after epoch 5: 0.28383969427091804
Cost after epoch 6: 0.26850574327864796
Cost after epoch 7: 0.2562966328439526
Cost after epoch 8: 0.24788446980501389
Cost after epoch 9: 0.2394253044054177
Cost after epoch 10: 0.2281243355166303
Cost after epoch 11: 0.21902232971237548
Cost after epoch 12: 0.21464569143716739
Cost after epoch 13: 0.20456878582668347
Cost after epoch 14: 0.19973925791888997
Cost after epoch 15: 0.1916237482979973
Parameters have been trained!
Train Accuracy: 0.935127
Test Accuracy: 0.8935
'''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment