import numpy as np O def centroids ( x , y ) : CO = x [ np.where ( y == 0 ) ] . mean ( axis = 0 ) c1 = x [ np.where ( y == 1 ) ] . mean ( axis = 0 ) C2 = x ...
確定! 回上一頁