title: Build a custom svm kernel matrix with opencv
body: <p>I have to train a Support Vector Machine model and I'd like to use a custom kernel matrix, instead of the preset ones (like RBF, Poly, ecc.).
  How can I do that (if is it possible) with opencv's machine learning library?</p>
  
  <p>Thank you!</p>