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
- 프로그래머스 파이썬
- Kaggle
- 우분투
- 백준
- programmers
- 프로그래머스
- Real or Not? NLP with Disaster Tweets
- 맥북
- 편스토랑 우승상품
- 캐치카페
- 금융문자분석경진대회
- 데이콘
- 자연어처리
- PYTHON
- leetcode
- SW Expert Academy
- ChatGPT
- 파이썬
- 더현대서울 맛집
- 편스토랑
- Baekjoon
- github
- Git
- 코로나19
- AI 경진대회
- Docker
- hackerrank
- dacon
- ubuntu
- gs25
Archives
- Today
- Total
목록
반응형
cannot import name 'delayed' from 'sklearn.utils.fixes' (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
반응형