ETC/에러노트

[Error] AttributeError: 'NoneType' object has no attribute 'split' //config = get_config().split()

ForrestPark 2024. 12. 18. 18:52

[Error] AttributeError: 'NoneType' object has no attribute 'split' //config = get_config().split() 에러 

[상황] oversampling 할떄 smote 보간 법에서 kmeans smote 를 사용할떄 split 안된다는 에러가 나왔다.

[시도] 1. OpenBLAS 라이브러리 업데이트

$ brew install openblas
$ pip install --upgrade threadpoolctl  로 threadpoolctl 을 설치 

[참고] https://stackoverflow.com/questions/72297968/attributeerror-nonetype-object-has-no-attribute-split-smote

[시도] 2. 처리야할 column 이 너무 많아서 문제인가? 그럼 칼럼이 문제인데 혹시 train_x 문제 있는지 살핌.

📌📌📌 [해결] train_x 를 다시 잡으니 잘됬다.