data-science-ipython-notebooks/deep-learning/keras-tutorial/solutions/sol_112.py

5 lines
165 B
Python
Raw Normal View History

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")