Skip to content

bh-SNE with custom distance callback #48

@ypnos

Description

@ypnos

Using method=tDistributedStochasticNeighborEmbedding in combination with withDistance() is not supported.

Laurens van der Maaten says for using a custom metric, the Vantage-Point Tree needs to be changed (see here. Note that this only refers to the Barnes-Hut algorithm; exact algorithm uses no VPTree and has it's own custom distance computation in tsne.hpp.

Interestingly, tapkee already comes with an alternative VPTree implementation that supports the use of a distance callback. It also looks quite compatible.

Could the method be altered to use the functionality of neighbors/vptree.hpp and enable withDistance()?

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