sksurv.kernels.
clinical_kernel
Computes clinical kernel
The clinical kernel distinguishes between continuous ordinal,and nominal variables.
See 1 for further description.
x (pandas.DataFrame, shape = (n_samples_x, n_features)) – Training data
y (pandas.DataFrame, shape = (n_samples_y, n_features)) – Testing data
kernel – Kernel matrix. Values are normalized to lie within [0, 1].
array, shape = (n_samples_x, n_samples_y)
References
Daemen, A., De Moor, B., “Development of a kernel function for clinical data”. Annual International Conference of the IEEE Engineering in Medicine and Biology Society, 5913-7, 2009