what is the purpose of the @ symbol in front of a variable in octave? -
for example:
model = svmtrain(x, y, c, @(x1, x2) gaussiankernel(x1, x2, sigma));
disclaimer: coursera ml class, it's impossible search @ symbol conventionally.
@
prefixes definition of anonymous function.
Comments
Post a Comment