simple question , definition of my check function in MATLAB

1 view (last 30 days)
Hi, I am trying to solve the following
my loss function is quantile loss function which defind as :
the below definition (b) is from wikipedia , which I belive the mean quantile loss
I choose , I defind my objective function based on the above loss function definition as follow:
fun = @(w) sum(.05*(max(y - f(w),0))+ (1-.05)* max(-(y - f(w)),0));
Does the way I define my mean quantile loss correct ?

Answers (0)


Find more on Get Started with Optimization Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by