##
Hello People,

I am getting an assertion error in the above-stated exercise. The screenshot and code grid is attached below. Seeking help for the resolution.

# UNQ_C2

# GRADED FUNCTION: compute_cost

def compute_cost(X, y, w, b, lambda_= 1):

“”"

Computes the cost over all examples

Args:

X : (ndarray Shape (m,n)) data, m examples by n features

y : (array_like Shape (m,)) target value

w : (array_like Shape (n,)) Values of parameters of the model

b : scalar Values of bias parameter of the model

lambda_: unused placeholder

Returns:

total_cost: (scalar) cost

“”"

{mentor edit: code removed}