Linear Kernel

A linear kernel is the simplest kernel function.

Problem Statement

Given a set X of n feature vectors x1= (x11,…,x1p), ..., xn= (xn1,…,xnp) of dimension p and a set Y of m feature vectors y1= (y11,…,y1p), ..., yn= (ym1,…,ymp), the problem is to compute the linear kernel function K (xi, yi) for any pair of input vectors: K (xi, yi) = k xiTyi + b.

For more complete information about compiler optimizations, see our Optimization Notice.
Select sticky button color: 
Orange (only for download buttons)