5회 2형 lightgbm질문
5회 2형 lightgbm으로 작성하면 아래와 같은 문구가 나타납니다. 혹시 어떤 부분이 잘못되었을까여??
< 코드 >
x_train = pd.get_dummies(x_train)
x_test = pd.get_dummies(x_test)from sklearn.model_selection import train_test_split
xx_train, xx_test, yy_train, yy_test = train_test_split(x_train, y_train, test_size = 0.2, random_state = 42)import lightgbm as lgb
model_g = lgb.LGBMRegressor(n_estimators = 150, max_depth = 4, random_state = 42)
model_g.fit(xx_train, yy_train)
pred_t_g = model_g.predict(xx_test)
< 에러 메세지 >
[LightGBM] [Warning] Found whitespace in feature_names, replace with underlines
[LightGBM] [Info] Auto-choosing row-wise multi-threading, the overhead of testing was 0.000399 seconds.
You can set force_row_wise=true to remove the overhead.
And if memory is not enough, you can set force_col_wise=true.
[LightGBM] [Info] Total Bins 395
[LightGBM] [Info] Number of data points in the train set: 3007, number of used features: 23
[LightGBM] [Info] Start training from score 12318.722980
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
답변 1
0
verbose=-1 값을 설정해 주세요!
에러는 아니고 버전이 올라가면 자동출력되고 있어요!
lgb.LGBMRegressor(n_estimators=150, max_depth=4, random_state=42, verbose=-1)
뒤로가기 버튼 같은 것이 있나요?
0
21
1
강의 연장 문의
0
18
1
출력값 질문
0
26
2
수업노트가 어디에 있나요?
0
28
1
실기시험 제출관련
0
159
2
6.20 작업형 2 과적합
0
165
3
코딩팡 장업형2 베이스 라인 인코딩 종류 질문
0
51
2
로지스틱회귀, 회귀
0
51
2
회귀 문제를 풀때 질문입니다.
0
58
1
불균형 처리 후 성능이 더 낮아졌다면,
0
65
2
실기 체험 제2유형 에러 문의
0
65
1
LIGHTGBM 으로 하면 pred값이 소수점 6자리까지 나오는게 맞나요
0
51
2
3번문제 등분산 가정
0
49
2
작업형3 target 형 변환 질문
0
37
2
[작업형1] 연습문제 섹션1 ~ 10 의 section4
0
39
3
원핫인코딩과 레이블 인코딩에서 concat
0
60
2
제2유형 질문입니다.
0
48
2
C()
0
44
2
작업형 2에서 strafity 적용 유무
0
52
2
수강 기간 연장 가능 여부 문의드립니다.
0
61
1
ols
0
44
2
2유형 작성관련 질문(일반 심화)
0
40
2
2유형 작성관련 질문
0
41
2
2유형 object컬럼 개수 다르면
0
48
2





