stratifyt - train 샘플을 추출할때 비율을 맞게 뽑아주는 역할을 한다
https://yeko90.tistory.com/entry/what-is-stratify-in-traintestsplit
[sklearn] 'stratify' 의 역할(train_test_split)
[ic]train_test_split[/ic]에서 [ic]stratify[/ic]가 뭐 하는 녀석인지 헷갈리는가? 그렇다면 잘 들어왔다. 이번 포스팅에서는 [ic]stratify[/ic]를 미적용했을 때 어떤 문제가 발생하는지 알아보고, [ic]stratify[/ic]
yeko90.tistory.com
'파이썬. 머신러닝 > sklearn' 카테고리의 다른 글
분류 분석 모델링 (MinMaxScaler, LabelEncoder, train_test_split) (1) | 2024.10.12 |
---|---|
데이터 인코딩 LabelEncoder(), fit, transform (0) | 2024.09.21 |
R2_score (0) | 2024.08.16 |
나도코딩_머신러닝 1 : 선형 회귀, 데이터 세트 분리 (0) | 2024.07.30 |
sklearn : 분류분석모델링 - 펭귄 종 맞추기 vs 성별 맞추기 (0) | 2022.10.19 |