(Solved): Compute gradient and Hessian of the functions given below. (b) f(x)=21xTHx+xTb+ where HRNN ...
Compute gradient and Hessian of the functions given below.
(b) f(x)=21?xTHx+xTb+? where H?RN×N,b?RN×1, and ??R1×1 are known. (c) f(?)=P1??p=1P?log(1+e??Tzp?) where variable ??Rn×1,log(?) denotes natural logarithm, and {zp? for p=1,2,…,P} where each zp??Rn×1 comes from a known data set.