실행 에러
미해결
[개정판] 파이썬 머신러닝 완벽 가이드
dt_clf = DecisionTreeClassifier() dt_clf.fit(X_train, y_train) pred = dt_clf.predict(X_test) print('예측 정확도:{0:.4f}'.format(accuracy_score(y_test.pred))) 이 부분을 실행할때, AttributeError: 'Series' object has no attribute 'pred' (이런 에러가 나옵니다. 어떻게 해결할까요?) 감사합니다~
- 학습데이터
- 테스트데이터
- python
- 머신러닝 배워볼래요?
- 모델셀렉션
- 통계
Mona Chang
댓글 1
좋아요 0
조회수 342





