+2 votes
in NumPy by
Print the probabilty arr = [0.23, 0.09, 1.2, 1.24, 9.99] using fix() this example of fuzzy logic or probability

1 Answer

0 votes
by
arr_num = [0.23, 0.09, 1.2, 1.24, 9.99]

print(“Input probability : “,arr)

out_arr = np.fix(arr_num)

print(“Output probability : “,out_arr)
...