in NumPy by (23.9k points)
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 (23.9k points)
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)

Related questions

0 votes
asked May 16, 2020 by AdilsonLima (6.3k points)
+2 votes
asked Jul 4, 2021 in NumPy by sharadyadav1986 (31.6k points)
+1 vote
asked Jul 8, 2021 in NumPy by rajeshsharma (23.9k points)
+1 vote
asked Jul 9, 2021 in NumPy by rajeshsharma (23.9k points)
...