Consider the supervised learning task.
The objective function being minimized is f(w) = w · x, where w ∈ R is the parameter. Stochastic Gradient Descent with learning rate of 0.10.
Let w = 10.00 be the ith iteration(wi). The value of w at the end of iteration (i+1) is if x = 10 _______. Round off 2 decimal.
Correct Answer :
Solution :
The correct answer is 9.00.
To understand why, let's break down the step-by-step application of Stochastic Gradient Descent (SGD).
Step 1: Understand the Objective Function and Parameter
We are given the objective function:
where is the parameter to be updated, and represents the input value (data point). For the given iteration, we have:
Step 2: Calculate the Gradient
Stochastic Gradient Descent updates the parameter by moving in the direction opposite to the gradient of the objective function. First, we compute the derivative (gradient) of with respect to :
Given that , the gradient at the current iteration is:
Step 3: Apply the SGD Update Rule
The formula to update the parameter in SGD is:
where:
• is the value of at the current -th iteration.
• is the learning rate.
• is the calculated gradient.
Substituting the values into the update equation:
Rounding to 2 decimal places, we get the final updated value of at the end of iteration (i+1) as 9.00.
Access expert-curated educational resources and study materials—completely free.
Create, conduct, and manage professional online assessments with Mindyard. Perfect for teachers and institutes.
Copyright © 2026 Mindyard. All Rights Reserved.