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: Train a basic model

Solution: Train a basic model

From the course: Learning Amazon SageMaker

Start my 1-month free trial

Solution: Train a basic model

(upbeat music) - [Instructor] For the solution for this challenge, it does require a little bit of research to be able to find out exactly how to train a logistic regression model on Amazon SageMaker. Fortunately the documentation has heaps of accessible information and it's quite helpful in terms of understanding how to put it all together. So, the first step is to review how the container was created initially and this cell here contains the information where we're able to create a container from the xgboost image. So, by copying that here, I might rename the container to container_logistic and now I need to locate exactly what the name is of the image for logistic regression. Now in the Amazon SageMaker documentation, linear logistic regression actually comes under the Linear Learner Algorithm. So, instead of using xgboost, we'll change that image name to linear-learner and run that command. So, the next step is to copy these commands from this cell here. First of all, this creates…

Contents