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

Function wide

rnn_class/mlp_parity.py:122–125  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

120
121
122def wide():
123 X, Y = all_parity_pairs(12)
124 model = ANN([2048])
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

Callers 1

mlp_parity.pyFile · 0.85

Calls 3

fitMethod · 0.95
all_parity_pairsFunction · 0.90
ANNClass · 0.70

Tested by

no test coverage detected