Creating a multiclass classification model using MLP
In this exercise, we are going to guide the CREATE MODEL
statement to use the MLP model. You will achieve that by setting the model_type
parameter to MLP
. The rest of the parameters can be set to default.
Let’s create a model to predict the direction of the robot:
CREATE MODEL chapter9_deeplearning.predict_robot_direction from (select us1 ,us2 , us3 , us4 , us5 , us6 ,us7 , us8 , us9 , us10 ,us11 ,us12 ,us13 ,us14 ,us15 ,us16 ,us17 , us18 ,us19 ,us20 ,us21 , us22 ,us23 ,us24 , direction from chapter9_deeplearning.robot_navigation where mod(id,5) !=0) target direction function predict_robot_direction_fn iam_role default model_type mlp settings (s3_bucket 'replace-with-your-s3-bucket', max_runtime 1800);
The CREATE MODEL
function is run with a max_runtime
value of 1800
seconds. This means the maximum amount of time to train the model is 30 minutes. Training jobs often complete...