모델을 fit 한 결과를 그래프로 보여주고자 할 때. x축을 epoch, y축을 accuracy 또는 loss 로 나타내는 코드. 12345678910111213141516171819202122import matplotlib.pyplot as plt # Fit the modelresults = model.fit(X, Y, validation_split=0.33, epochs=150, batch_size=10, verbose=0)# list all data in historyprint(results.history.keys())# summarize history for accuracyplt.plot(results.history['acc'])plt.plot(results.history['val_acc'])pl..
DeepLearining
2017. 10. 29. 12:57
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 기술면접
- 데이터타입
- serverless
- 파이썬 리스트
- count
- 코랩
- Python
- str
- dict
- 데이터분석
- pythonprogramming
- nested list
- 이직
- Colab
- 면접
- 변수
- 딕셔너리
- R스튜디오
- R studio
- 이력서
- 취업
- evaluation
- dataprocessing
- LEN
- 파이썬
- 파이썬 콜론
- 면접질문
- 안드로이드
- keras
- python list
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
글 보관함