Search

np.random

np.random.permutation

np.random.permutation(range(데이터 길이))[:N]
: 전체 데이터 길이에서 무작위로 N개의 index 추출하기