MLS-C01 exam dumps

MLS-C01 practice question 213 of 389

AWS Certified Machine Learning - Specialty. Expert level, Amazon Web Services. Free question with the correct answer and a full explanation.

MLS-C01 Question 213

Single answer

You are training a linear regression model using the Amazon SageMaker built-in Linear Learner algorithm. During training, you notice that the loss function is decreasing very slowly. Which of the following actions is most likely to resolve the issue?

  1. A

    Increase the learning rate parameter.

  2. B

    Decrease the learning rate parameter.

  3. C

    Increase the number of epochs.

  4. D

    Switch to a non-linear model.

Show answer and explanation

Correct answer: A

Explanation

The learning rate is a critical hyperparameter that controls the size of the steps the model takes during the optimization process. If the learning rate is set too low, the model will make very small updates to weights, causing the loss function to decrease slowly. By increasing the learning rate, the model can converge faster to the optimal solution. However, it's essential to monitor training closely, as setting the learning rate too high could cause the model to overshoot the optimum or diverge.

  • A. Correct.

    Increasing the learning rate parameter allows the model to take larger steps in the direction of minimizing the loss, which can speed up convergence. However, care must be taken to avoid setting it too high, as this can lead to instability.

  • B. Incorrect.

    Decreasing the learning rate makes the model take smaller steps, which can slow down the training process further. This option would not resolve the issue of slow convergence.

  • C. Incorrect.

    Increasing the number of epochs might improve the training over time but does not address the root cause of the slow progress in each iteration.

  • D. Incorrect.

    Switching to a non-linear model is unrelated to the issue described, as the problem lies in the training dynamics of the current linear model, not the type of model being used.

Timed practice exam

Take a MLS-C01 practice test under exam conditions

65 questions in 180 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam