string-kernel icon indicating copy to clipboard operation
string-kernel copied to clipboard

A python package that includes a variety of string kernel methods.

Results 3 string-kernel issues
Sort by recently updated
recently updated
newest added

Hi, I have a question, what is the effect of returning `[-1]` in `get_numbers_for_sequence`? Doesn't it produce unexpected counts by negative indexing after being multiplied with the multiplier? https://github.com/jakob-he/string-kernel/blob/c9702d329b35698f09eb9f5d22857238c95b8665/strkernel/gappy_kernel.py#L19

At this moment, t is ignored in gappypair_kernel function, which means it is always producing dna kernels

'AAAC' and 'AAAG' got the same encoding after the preprocessing. But it should get different ones, right? Seems like the integerized(seq) for one sequence instead of the whole set of...