I have been going through the videos and the forums with the aim of finding out exactly what every line of code dose. In the process I have been adding notes to improve my understanding especially as we are learning many new tricks! . Most of the notes are on what we have covered so far and there are still a number of gaps that I am hoping to complete soon.
The process is helping me understand the code better so thought I would share in case anyone else might find this useful, on top of the notes provided by other fellow students.
Can you please explain below line of code from same lesson 1. I am quite confused.
probs = np.exp(log_preds[:,1]) # pr(dog)
Above command will apply exponential function on Dogs(1) predictions data, But not for Cats. In that case, below function how this works for cats.
probs variable will have data only related to dogs