survival.kernels.clinical_kernel

survival.kernels.clinical_kernel(x, y=None)

Computes clinical kernel

The clinical kernel distinguishes between continuous ordinal,and nominal variables.

Parameters:

x : pandas.DataFrame, shape = [n_samples_x, n_features]

Training data

y : pandas.DataFrame, shape = [n_samples_y, n_features]

Testing data

Returns:

kernel : array, shape = [n_samples_x, n_samples_y]

Kernel matrix. Values are normalized to lie within [0, 1].

References

[R13]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