Reading the mathematical definition of convexity (https://en.wikipedia.org/wiki/Convex_function), it seems that there is a relatively clear definition as to what makes a function "convex":
However, the above definitions of convexity seem to only apply to deterministic functions - my question relates to determining the convexity of functions involving random variables (i.e. non-deterministic functions).
For example, in the context of machine learning and neural networks (a type of machine learning algorithm), we are often interested in optimizing a "loss function" for the purpose of creating a model that represents our observed data as closely as possible. For neural networks, the "loss function" involves a "random variable" and can be represented in the following form:
My Question: Have any theoretical results been established regarding convexity definitions for non-deterministic functions (e.g. functions with random variables)? Or can some "basic math" be used to show that non-deterministic functions automatically fail to satisfy either of the above definitions of convexity for deterministic functions - and therefore, non-deterministic functions (also called "noisy functions") are automatically non-convex?
Can someone please comment on this?
Thanks!
References: