C1W4 final assignment explanation after exercise 2

In this section of the assignment, I understand that the sum(X_inf) doesn’t add up to 1, but I’m confused why that was used for dividing each of the entries in X_inf so that the sum of the numbers of X_inf ends up being 1

Thanks

I think I understand now. This appears to be using the L1 Norm: when adding up each item in the vector (and dividing it by the sum) we will get a sum of terms that gets to 1 (1 on the numerator divided by 1 on the denominator). That seems to be why the scaling works. To any mods, Let me know if this sounds incorrect

1 Like

yes @YodaKenobi and as mentioned in the screenshot probabilities cannot be of negative values, so scale them to positive values, this scaling of vectors by 1 has been done numerator and denominator as a resultant you have long run probabilities in positive values.

It is one of the normalisation technique

1 Like