1. train_test_split() 함수의 stratify 옵션데이터의 비율을 유지하면서 훈련/테스트 세트를 나누도록 해주는 기능 1) stratify 없는 경우 x_train, x_test, y_train, y_test = train_test_split( iris.drop('class', axis =1), iris['class'], test_size = 0.2, random_state=1000) 소수 클래스가 훈련 또는 테스트 셋에 거의 안 들어갈 수도 있음 2) stratify 있는 경우x_train, x_test, y_train, y_test = train_test_split( iris.drop('class',axis=1), iris['class'], te..