목록데이터분할 (1)
nada
[Python] 데이터 분할 :: train_test_split( )
데이터 분할 :: train_test_split() from sklearn.model_selection import train_test_split train_test_split( arrays, # list, Numpy array, dataframe, etc... test_size = 0.25, # float : 0.0 ~ 1.0 | int : 샘플의 개수 train_size = test_size를 제외한 나머지, # float : 0.0 ~ 1.0 | int : 샘플의 개수 random_state = None, shuffle = True, stratify = None ) Option arrays : 분할시킬 데이터를 입력 test_size : 테스트 데이터셋의 비율(float) or 갯수(int) tra..
DataScientist_Skill/PreProcessing
2023. 8. 31. 00:30