본문 바로가기
연구 노트/R Python

ConvergenceWarning: lbfgs failed to converge (status=1):

by Dr. STEAM 2021. 11. 17.
반응형

에러:

ConvergenceWarning: lbfgs failed to converge (status=1):

STOP: TOTAL NO. of ITERATIONS REACHED LIMIT.

해결: 

model = LogisticRegression(random_state=42)

model = LogisticRegression(random_state=42, solver='lbfgs', max_iter=100) 수정한다.

 

 

참고: python - ConvergenceWarning: lbfgs failed to converge (status=1): STOP: TOTAL NO. of ITERATIONS REACHED LIMIT - Stack Overflow

 

728x90
반응형