learning_curve()
CODEDRAGON ㆍDevelopment/Python
반응형
learning_curve()
학습 곡선을 그려줍니다.
| sklearn.model_selection.learning_curve(estimator, X, y, groups=None, train_sizes=array([0.1, 0.33, 0.55, 0.78, 1. ]), cv=None, scoring=None, exploit_incremental_learning=False, n_jobs=None, pre_dispatch='all', verbose=0, shuffle=False, random_state=None, error_score=nan, return_times=False) |
https://scikit-learn.org/stable/modules/generated/sklearn.model_selection.learning_curve.html
| parameter | description | ||||||
| estimatorobject | 예측 방법 지정 | ||||||
| X, y | 데이터 | ||||||
| train_sizes | learning curve 생성시 사용할 데이터 사이즈 지정 | ||||||
| cv | cross-validation 값 지정 | ||||||
| n_jobs | 연산을 위한 CPU 개수 지정
|
'Development > Python' 카테고리의 다른 글
| VotingClassifier() (0) | 2020.03.08 |
|---|---|
| graph_from_dot_data() (0) | 2020.03.08 |
| export_graphviz() (0) | 2020.03.07 |
| UniversalBank.csv (0) | 2020.03.06 |
| re.RegexObject 클래스 (0) | 2020.03.06 |