I'm trying to make a 3d plot that is non-convex. I googled a little bit but didn't find a non-convex function that is as easy to understand as the mean squared error.
I know the mean squared error is defined as
${\displaystyle \operatorname {MSE} ={\frac {1}{n}}\sum _{i=1}^{n}(Y_{i}-{\hat {Y_{i}}})^{2}.}$
which is a non-convex function, with 2d plot similar to the one shown below.
What about 3d plot. Could someone give a simple non-convex function with 3d plot similar to the one shown below?
I also tried Stochastic gradient Langevin dynamics
which involves too much things to understand for me


