### Author: Deep Learning in Python Prerequisites: Master Data Science and Machine Learning with Linear Regression and Logistic Regression in Python (Machine Learning in Python)

  • loc 359 - The raw data will be in the form of an N x 1 array where the elements are values from 0..9. You will need to turn it into an indicator matrix of size N x K where the values are 0 or 1.

  • loc 366 - def softmax(a): expA = np.exp(A) return expA / expA.sum(axis=1, keepdims=True)