Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is a Tensor kernel in machine learning?

What is a Tensor kernel in machine learning? What is the difference between Tensor kernels with common kernels like RBF kernel? When tensor kernels are used and what their advantages and disadvantages?

like image 261
user6845158 Avatar asked Jul 17 '26 18:07

user6845158


1 Answers

This is more a semantic issue. A Kernel is an encapsulated function. In order to apply it to a data-tensor we need to convert the kernel to a tensor shape, but in the end it is still the same function.

  • Understand tensors. They "are just high dimensional matrices".

  • Understand ML Kernels. Basically a kernel is an encapsulated function. The kernel trick is used to pass a linear function over a (none-linear) kernel or filter, in order to achieve a complex none-linear function in a less complex way. This allows a linear function learning none-linear features, saving a lot of computational power, since using a polynomial function can become too expensive for large (or complicated) datasets training. I.e., we can compute linear functions using none-linear kernels to learn none-linear patterns.

So, RBF is represented as a tensor kernel (exponential gaussian kernel), but this is just the most popular kernel in machine learning to learn none-linear representations (specially used in SVM). SVR using linear and non-linear kernels.

There are other tensor kernels that you could use instead, like the Sigmoid Kernel or the polynomial kernel.

like image 138
Javi Avatar answered Jul 20 '26 01:07

Javi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!