호출 한 번이면 끝나는 training loop
model.fit()이 전체 loop 돌려 — forward, loss, backward, update, metric 추적, batch마다 epoch마다. validation, callback, 진행 표시도 처리.
반환되는 history 객체가 주요 진단 도구. history.history['loss'] vs history.history['val_loss'] 그려서 overfitting 실시간으로 봐. accuracy 등 추적한 metric도 마찬가지.
대용량 데이터엔 tf.data.Dataset 넘겨. NumPy array는 다 메모리에 올려. Dataset은 lazy하게 stream하고 preprocessing 병렬화. tf.data는 다음 track에서 깊이 다뤄 — 지금은 fit()과 매끄럽게 통합된다는 것만 알면 돼.