Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |
Tags
- github
- 캐치카페
- hackerrank
- 우분투
- 백준
- 데이콘
- 더현대서울 맛집
- dacon
- 자연어처리
- AI 경진대회
- 프로그래머스
- gs25
- leetcode
- Kaggle
- 편스토랑 우승상품
- 편스토랑
- 코로나19
- 프로그래머스 파이썬
- ChatGPT
- ubuntu
- 금융문자분석경진대회
- Baekjoon
- Git
- 파이썬
- 맥북
- programmers
- SW Expert Academy
- PYTHON
- Docker
- Real or Not? NLP with Disaster Tweets
Archives
- Today
- Total
목록
반응형
sklearn error (1)
반응형
솜씨좋은장씨
[Python] ImportError: cannot import name 'delayed' from 'sklearn.utils.fixes' (/usr/local/lib/python3.7/dist-packages/sklearn/utils/fixes.py) 해결방법
오랜만에 Dacon 대회를 도전해보면서 baseline 코드에 StratifiedKFold를 적용해서 결과를 내보고자 from sklearn.model_selection import StratifiedKFold Colab에서 위와 같이 import를 시도하였는데 ImportError: cannot import name 'delayed' from 'sklearn.utils.fixes' (/usr/local/lib/python3.7/dist-packages/sklearn/utils/fixes.py) 위와 같은 오류가 발생하였습니다. 이를 해결하는 방법은 다음과 같습니다. !pip install delayed delayed를 pip 를 활용하여 설치한 다음 런타임 다시시작을 한 다음에 다시 import를 하게..
Programming/Python
2021. 6. 23. 09:32
반응형