Skip to content

Tensor Factorization "liana::decompose_tensor" in R #21

@junghpark

Description

@junghpark

Thanks for this powerful package!

I've been following your LIANA x Tensor-cell2cell Quickstart (R) using a virtual environment with Python 3.11.4.

After running liana_tensor_c2c, I've got a tensor as follows:

tensor$shape
[[1]]
[1] 16

[[2]]
[1] 1766

[[3]]
[1] 37

[[4]]
[1] 37

summary(tensor)
<cell2cell.tensor.tensor.PreBuiltTensor object at 0x7f7c39ef8210>

However, when I run liana::decompose_tensor using the same tensor, decomposing takes weirdly long, regardless of setting the rank as NULL (Estimating ranks...
0%| | 0/25 [11:18:58<?, ?it/s]) or not (Decomposing the tensor...
0%| | 0/100 [00:00<?, ?it/s]), and the tf_optimization as robust or regular. After running for a couple of days, R just crashed.

I've also run the same code with your covid dataset, and the estimation time for decomposing appeared to be 74 hours but didn't get completed. I wonder if you've ever encountered this type of issue.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions