W2_A1_Exercise 7 - softmax

[Moderator edit: Code removed]

Ladies and gentlemen, nice to meet you in this community. I’m here to get your suggestion to my error in the programming assignment in ‘Exercise 7 - softmax’ of ‘Python_Basics_with_Numpy Exercise’.

Thank you.

HI @Gerie_knu

the softmax function is like this equation
so in your code the X_sum over the e_exp variable not over x so update the variable in the sum function

Note the code isn’t be allowed to be shared here


1 Like

Thanks friend. cheers.