Skip to content

Sig kernel computations halt if n_seq = 1 #1

@nikitazozoulenko

Description

@nikitazozoulenko

Running the following code results in the jupyter kernel crashing:

n_levels = 5
static_kernel = ksig.static.kernels.RBFKernel() 
sig_kernel = ksig.kernels.SignatureKernel(n_levels, static_kernel=static_kernel)
N, T, d = 1, 50, 5 
n_seq = 1
X = np.random.randn(N, T, d)
Y = np.random.randn(n_seq, T, d)
sig_kernel(X, Y)

This only happens if both N and n_seq is 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions