July 2018
Intermediate to advanced
474 pages
13h 37m
English
This section walks through the steps to calculate the cost function.
learningRate = 0.1
allCosts = []

plt.plot(all_costs)plt.title('Cost Value over 100,000 iterations')plt.xlabel('Iteration')plt.ylabel('Cost Value')plt.show()
Read now
Unlock full access