From the course: Learning Amazon SageMaker
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Solution: Transfer model to server
From the course: Learning Amazon SageMaker
Solution: Transfer model to server
(upbeat music) - [Instructor] For the solution for this challenge, you will need to look through the Amazon SageMaker documentation to find out how to execute the batch transform function. Fortunately it's quite easy to read through and there's lots of useful code examples. Under the Deployment section of the documentation you can find information about how to interact with the Batch Transform API. You can also see that this is a code example that uses the Batch Transform transformer object to be able to get inferences on a CSV file. In our Notebook, we've already set a number of these variables, so we only just need the information around the transformer object and the transform function. I'll copy that section here and then I'll paste it back in our Notebook. We've already imported SageMaker, we've already defined a model and we've already defined an input, but we haven't defined an output path yet. So, I'll set up those variables one by one. The first variable that we need is the…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.