How to know if the function is convex

42 Views Asked by At

How I can know if this function is a convex and why ? My understanding is the exp is convex and if we add positive number to a convex we return a convex then the log for convex sometimes return convex sometime log (1 + exp(wT xi)) for w ∈ Rd