import numpy as np ... u_labels = np.unique(label) ... The above code iterates filtering the data according to each unique class one iteration at a time.
確定! 回上一頁