Skip to content
This repository was archived by the owner on Jun 9, 2023. It is now read-only.

Use precomputed matrix of distances #11

Open
aaolaveh opened this issue Oct 21, 2019 · 1 comment
Open

Use precomputed matrix of distances #11

aaolaveh opened this issue Oct 21, 2019 · 1 comment

Comments

@aaolaveh
Copy link

Hi Matt, I don’t know if this count as an issue, by anyway ..

In your documentation it is said

The data can be specified at initialization, or later using the use_data method. The format of the data must be either a matrix of coordinate values or a function which returns a matrix of coordinate values.

Is there a way such that the input is a distance matrix of my data?. As you know, the interesting part of Mapper is being able to use data that is not necessarily in an Euclidean space but has a distance function

Thanks and best regards!

@peekxc
Copy link
Owner

peekxc commented Oct 26, 2019

Hi @Sandyaoh

I'll work on getting a distance matrix option incorporated, perhaps by tmrw.

In the meantime, you can use any distance measure in the proxy package. I believe you can actually make your own distance measure in the registry of the proxy package and call it there.

I'll work on making an example + incoporating a dist object tmrw

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants