kmp5VT/ITensorCPD.jl

Randomized sampling can fail for very large tensors

Aberta

#30 aberto em 22 de abr. de 2026

 (1 comentário) (0 reação) (0 responsável)Julia (2 forks)auto 404
buggood first issue

Métricas do repositório

Stars
 (7 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

Right now the randomized methods index the random sample by the column position of the matricized tensor using Int64. When a tensor has a very large column space, greater than 10^20, the number of columns overflows Int64 and returns negative values. The system needs to be modified to index by the position in each mode of the tensor. This would then only overflow when the dimension of a single mode is greater than 10^20. The solution is that all the pivot structures need to be modified to hold onto matrices of positions instead of vectors. Multi-index positions can easily be converted into other values.

Guia do colaborador