Skip to content

The PHATE Operator get's stuck in the landmark operation when using precomputed knn_dist #175

Open

Description

@bjoaofelipe

Describe the bug
The PHATE Operator get's stuck in the landmark operation when using precomputed knn_dist

To Reproduce

import phate
phate_op = phate.PHATE(knn_dist='precomputed', knn=7, t=10, n_jobs=-1)
emb = phate_op.fit_transform(D)

Expected behavior
Computation should take more or less the same time as version 1.0.11.

Actual behavior
Code never passes the landmark computation

Activity

  1. MattScicluna commented on Mar 3, 2026

    @MattScicluna
    Contributor

    Could you provide a complete, minimal example that reproduces the bug and attach any output (stdout/stderr)? If there’s no output, please confirm whether the code terminates or hangs.

  2. MattScicluna commented on Mar 4, 2026

    @MattScicluna
    Contributor

    I made a pytest to check this: #176
    Currently it is passing. So there could be something else causing the bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions