rvk7895 commited on
Commit
e7448b2
1 Parent(s): d5d908d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -0
README.md CHANGED
@@ -17,6 +17,9 @@ tags:
17
  - docstring
18
  - documentation
19
  - text-generation-inference
 
 
 
20
  ---
21
  # pip-code-to-doc
22
 
 
17
  - docstring
18
  - documentation
19
  - text-generation-inference
20
+ widget:
21
+ - text: "<code>def get_np_array_transition_probability_matrix(int_num_states, np_array_A_matrix):print(np_array_A_matrix)np_array_A_matrix += (np.full((int_num_states, int_num_states), float_eps) - (np.identity(int_num_states) * float_eps))print(np_array_A_matrix)np_array_D_matrix = np.diag(np.sum(np_array_A_matrix, axis=1))print(np_array_D_matrix)np_array_D_matrix_inv = np.linalg.inv(np_array_D_matrix)print(np_array_D_matrix_inv)np_array_P_matrix = np.dot(np_array_D_matrix_inv, np_array_A_matrix)print(np_array_P_matrix)print(np.sum(np_array_P_matrix, axis=1))return np_array_P_matrix</code><question>Document the python code above.</question><doc>"
22
+ example_title: "example"
23
  ---
24
  # pip-code-to-doc
25