self.model = load_model(“models/” + model_name) if is_eval \
else self._model()
model
함수는 상태를 동작에 매핑하는 딥러닝 모델이다. 이 함수는 환경 상태를 가져와 동
작에 대한 확률 분포를 참조하는
Q
가치 테이블 또는 정책을 반환한다. 이 함수는 케라스 파
이썬 라이브러리를 사용해 구축되었다.
11
사용된 딥러닝 모델의 구조는 다음과 같다.
●
모델은 입력으로 제공되는 상태 크기와 변수 수가 동일한 데이터 행을 예상한다.
●
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.