Recent Posts
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 헥사고날아키텍처 #육각형아키텍처 #유스케이스
- VARCHAR (1)
- vfr video
- 오블완
- preemption #
- 티스토리챌린지
- 겨울 부산
- PersistenceContext
- table not found
- tolerated
- JanusWebRTCGateway
- terminal
- taint
- Spring Batch
- 코루틴 빌더
- python
- 코루틴 컨텍스트
- pytest
- 깡돼후
- PytestPluginManager
- Value too long for column
- 개성국밥
- JanusWebRTCServer
- k8s #kubernetes #쿠버네티스
- kotlin
- JanusGateway
- JanusWebRTC
- 자원부족
- mp4fpsmod
- 달인막창
Archives
너와 나의 스토리
VotingClassifier.fit "Please change the shape of y to (n_samples, ), for example using ravel()" 문제 해결 본문
Data Analysis/Machine learning
VotingClassifier.fit "Please change the shape of y to (n_samples, ), for example using ravel()" 문제 해결
노는게제일좋아! 2020. 5. 3. 17:09반응형
ensemble_model.fit(x_train, y_train)

해결 방법:
ensemble_model.fit(x_train, y_train.values.ravel())
반응형
'Data Analysis > Machine learning' 카테고리의 다른 글
VotingClassifier.fit "The estimator KerasClassifier should be a classifier" 문제 해결 (0) | 2020.05.03 |
---|---|
[ML] Bootstrap / Bagging (1) | 2019.09.16 |
[ML] Online bagging (0) | 2019.09.16 |
[ML] 'Robust Random Cut Forest for anomaly detection' 설명 및 library (Online Anomaly Detection) (0) | 2019.09.09 |
Amazon SageMaker / Jupyter 노트북 인스턴스 생성 및 실행 / 커널 설치 / mxnet_p36 (0) | 2019.09.09 |
Comments