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

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -