MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

MACHINE LEARNING

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
To find the minimum or the maximum of a function, we set the gradient to zero because:
A
The value of the gradient at extrema of a function is always zero
B
Depends on the type of problem
C
Both A and B
D
None of the above
Explanation: 

Detailed explanation-1: -To find the minimum or the maximum of a function, we set the gradient to zero because: The value of the gradient at extrema of a function is always zero-answer.

Detailed explanation-2: -We will set the first derivative of the function to zero and solve for x to get the critical point. If we take the second derivative or f”(x), then we can find out whether this point will be a maximum or minimum. If the second derivative is positive, it will be a minimum value.

Detailed explanation-3: -Just before a minimum point the gradient is negative, at the minimum the gradient is zero and just after the minimum point it is positive. d d x y is positive.

Detailed explanation-4: -Concept: Statement 1 is true, The derivative where the function attains maxima or minima must be zero. At the point of the local maxima or minima, the derivative of the function must be 0, such that the tangent at that point is parallel to the x-axis.

There is 1 question to complete.