|
attachKernel(data,
kernel='linear',
**args) |
source code
|
|
|
kernel2file(data,
fileName,
**args)
compute a kernel matrix and save it to a file in tab delimited format |
source code
|
|
|
averageEntry(fileName,
ignoreDiagonal=True,
delim=None) |
source code
|
|
|
PositionalKmerDispatcher(**args)
A string kernel inspired by Raetsch et al's weighted degree kernel |
source code
|
|
|
combineKernels(ker1file,
ker2file,
kerOutFile,
operation='add',
**args)
combine two kernels by either adding or multiplying them. |
source code
|
|
|
sortKernel(kernelInFile,
kernelOutFile,
format='gist',
**args)
sort a kernel matrix according to its pattern ID |
source code
|
|
|
commonKernel(kernelFile1,
kernelFile2,
kernelOutFileName1,
kernelOutFileName2) |
source code
|
|
|
expandKernel(inKernelFile,
referenceKernelFile,
outKernelFile,
**args)
Given a kernel matrix that might have missing entries, fill those as 0
on the basis of the patterns in a reference kernel (it is checked that
the reference kernel is sorted). |
source code
|
|
|
showKernel(dataOrMatrix,
fileName=None,
useLabels=True,
**args) |
source code
|
|
|
sortKernel2(kernelInFile,
kernelOutFile,
ids,
format='gist',
**args)
sort a kernel matrix according to the given list of ids |
source code
|
|