1. python 内置函数 set(可迭代对象) 返回无重复元素的集合。如在分类中,classification为类别数组 set(classification)为类别数 2.numpy np.unique(可迭代对象),返回有序的无重复元素的ndarray >>>print(np.unique( Read More
posted @ 2019-04-10 16:30 明天星期几 Views(668) Comments(0) Diggs(0)