Inflearn Community Q&A
LabelEncoder를 찾을 수가 없답니다.
Written on
·
433
0
module 'sklearn.preprocessing' has no attribute 'LabelEncorder'
안녕하세요 교수님 계속 이런 메세지가 뜨네요 ㅠ
통계머신러닝 배워볼래요? python
Answer 3
0
dooleyz3525
Instructor
from sklearn.preprocessing import LabelEncoder
le = LabelEncoder() 로 바꿔 주시면 될 것 같습니다.
0
0
dooleyz3525
Instructor
안녕하십니까,
from sklearn.preprocessing import LabelEncoder 수행하시면 정상동작하시나요?
그럼 문제 없이 동작해야 합니다.
혹시 저 오류를 발생시킨 코드가 어떤것인지 올려 주실 수 있는지요? 그럼 확인이 가능할 것 같습니다.
감사합니다.






