반응형
반응형

문제

sklearn에서 f1._score import 할 때 에러가 발생했습니다.

 

 

해결

1과 l이 jupyter notebook에서는 같은 모양이라 잘못 입력했던거였습니다.

숫자 1로 바꾸니 제대로 import 되었습니다.

 

 

* conda install -c anaconda scikit-learn 으로 설치 후 conda update scikit-learn 으로 업데이트 하면됩니다.

반응형

'Python' 카테고리의 다른 글

zip()  (0) 2023.05.03
combinations()  (0) 2023.05.03
[panda]info()  (0) 2023.04.26
IndentationError: unindent does not match any outer indentation level  (0) 2023.04.25
ValueError: min() / max() arg is an empty sequence  (0) 2023.04.19

+ Recent posts