machine-learning-book
machine-learning-book copied to clipboard
Make compute_mse_and_acc func on pg 354 more elegant
actually, I am not sure why I wasn't computing it with
loss = np.sum((onehot_targets - probas)**2)
(instead of mean) in the loop and then using
mse = mse/num_examples
instead of
mse = mse/i
Let me make a note to update this!