S_Dbw_validity_index
S_Dbw_validity_index copied to clipboard
ZeroDivisionError: division by zero Ask how to solve
ZeroDivisionError: division by zero
I got the same problem
a problem in the code.
std_matrix_i = np.std(data[self.data_cluster == i],axis=0)
should compute var instead of std.