data-science-ipython-notebooks/deep-learning/keras-tutorial/solutions/sol_112.py
2017-08-26 08:25:13 -04:00

5 lines
165 B
Python

ann = ANN(2, 10, 1)
%timeit -n 1 -r 1 ann.train(zip(X,y), iterations=100)
plot_decision_boundary(ann)
plt.title("Our model with 10 hidden units and 100 iterations")