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())
반응형