In Gradient Descent - Is the Gradient (Slope) a vector and related question Question 1: Is the Gradient a Vector? Yes, absolutely. In multi-dimensional space, the gradient is a vector with both magnitude and direction . The Gradient Vector For a function f(w₁, w₂, ..., wₙ), the gradient is: ┌ ∂f/∂w₁ ┐ │ ∂f/∂w₂ │ ∇f = │ ⋮ │ └ ∂f/∂wₙ ┘ Each component tells you: "How much does the loss change if I nudge this particular weight?" Direction and Magnitude Property Meaning Direction Points toward steepest ascent (we move opposite for descent) Magnitude How steep the slope is (larger = steeper terrain) Question 2: One Shot or One-at-a-Time? One shot — all dimensions simultaneously. This is crucial: standard gradient descent updates ALL parameters together in a single step, not sequentially. Concrete Example: 2D Landscape Consider a simple loss function with two weights: L(w₁, w₂) = w₁² + 4w₂² This creates an elliptical bow...