"XGBoost(with Scikit-learn)"의 두 판 사이의 차이

Pywiki
둘러보기로 가기 검색하러 가기
(새 문서: == 방법 == 데이터 전처리는 생략한다. {| class="wikitable" !절차 !설명 !방법 |- |모델작성 |다음과 같은 인수들을 사용한다. {| class="wikitable" !인...)
 
(차이 없음)

2021년 9월 3일 (금) 23:19 기준 최신판

방법[편집 | 원본 편집]

데이터 전처리는 생략한다.

절차 설명 방법
모델작성 다음과 같은 인수들을 사용한다.
인수 설명
n_estimators
learning_rate
from xgboost import XGBRegressor

model = my_model_1 = XGBRegressor()
모델훈련
my_model.fit(X_train, y_train)
예측
prediction = my_model_1.predict(X_valid)