1. 그림판 세팅
2. 숫자 쓰기
3. jupyter notebook에 코딩
4. 결과 확인
prediction=loaded.predict(img)
print(prediction)
print(np.argmax(prediction)) #예측된 정보값=3
plt.show()
[[0. 0. 0. 1. 0. 0. 0. 0. 0. 0.]]
3
(참고)
'IT 프로그래밍 > 빅데이터' 카테고리의 다른 글
[Bigdata] Jpype 설치 및 실행 방법 (+쓸데없는 짓^^) (0) | 2021.03.18 |
---|---|
[Bigdata] Django 장고 설치/ 환경설정 (0) | 2021.03.18 |
[Bigdata] python과 MongoDB연결 (+DeprecationWarning) (0) | 2021.03.10 |
[Bigdata] MapReduce구현 완벽정리 (0) | 2021.03.10 |
[Bigdata 저장] MongoDB : Sharding 샤딩 환경설정 (0) | 2021.03.09 |