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

Function deep

rnn_class/mlp_parity.py:127–131  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

125 model.fit(X, Y, learning_rate=1e-4, print_period=10, epochs=300, show_fig=True)
126
127def deep():
128 # Challenge - find a deeper, slimmer network to solve the problem
129 X, Y = all_parity_pairs(12)
130 model = ANN([1024]*2)
131 model.fit(X, Y, learning_rate=1e-3, print_period=10, epochs=100, show_fig=True)
132
133if __name__ == '__main__':
134 wide()

Callers

nothing calls this directly

Calls 3

fitMethod · 0.95
all_parity_pairsFunction · 0.90
ANNClass · 0.70

Tested by

no test coverage detected