For example:
model = svmTrain(X, y, C, @(x1, x2) gaussianKernel(x1, x2, sigma));
Disclaimer: This is from the Coursera ML class, but it's nearly impossible to search for the @ symbol conventionally.
For example:
model = svmTrain(X, y, C, @(x1, x2) gaussianKernel(x1, x2, sigma));
Disclaimer: This is from the Coursera ML class, but it's nearly impossible to search for the @ symbol conventionally.
Also, @
is used to demark a function handle.
© 2022 - 2024 — McMap. All rights reserved.