Created
June 8, 2020 03:48
-
-
Save eustin/bd9a0eabd2adae6db6ce0bbaf2e689bc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
first_term_numerator = np.exp(score_obj_pos_1) | |
first_term_denominator = np.exp(score_obj_pos_1) + np.exp(score_obj_pos_2) + np.exp(score_obj_pos_3) | |
first_term = first_term_numerator / first_term_denominator | |
print(f"first term is {first_term}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment