This documentation is for scikit-learn version 0.17 — Other versions
If you use the software, please consider citing scikit-learn.
Compute the linear kernel between X and Y.
Read more in the User Guide.
X : array of shape (n_samples_1, n_features)
Y : array of shape (n_samples_2, n_features)
Gram matrix : array of shape (n_samples_1, n_samples_2)