이제 모델을 학습시키는 과정까지 마쳤습니다. 다음은 모델을 실제로 사용할 수 있도록 배포하
는 방법을 알아봅니다.
2.5
학습된 모델을 온라인 애플리케이션으로 만드는 데 필요한 사항을 살펴볼 차례입니다. 다만 어
느 정도 작동하는 프로토타입을 만드는 수준까지만 다룹니다. 상세한 웹 애플리케이션의 개발
은 책의 범위를 벗어납니다.
2.5.1
만족스러운 모델을 배포환경에서 사용하려면 우선 파일 형태로 서버에 저장해야 합니다. 모델
은 두 부분으로 구성됩니다. 바로 모델의
와 학습된
입니다. 이 두 요소를 모두 저
장하는 것이 가장 쉽게 모델을 저장하는 방식입니다. 이후 모델을 다시 불러들일 때 파라미터
가 모델의 구조에 정확히 들어맞는다고 확신할 수 있기 때문입니다. 모델의
export
메서드를
사용하여 모델의 구조 및 파라미터를 모두 파일로 쉽게 ...
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.
O’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
I wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
I’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
I'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.