Using a modified kernel in svm using Python

I am trying to use a modified rbf kernel in svm, where the new kernel is given by: K*Krbf. Where K = 1/euclidean distance. How can I do that?`

© Copyright 2013-2020 Analytics Vidhya