Separable Cost Matrix #452
Replies: 1 comment 1 reply
-
hi Tiago, apologies, your email fell on a holiday period here, and was a bit lost. I really apologize for not helping out earlier... You question suggests that we should think about adding operators to add cost functions. This is a cool idea that's worth exploring. In your case, I think the way to go could be either
In your case, if you want to add a squared Euclidean to another Euclidean distance, I could imagine something of the form
essentially we've done these kind of things when defining elastic costs |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
It is unclear to me how to set up the following cost matrix: Each point consists of multimodal information, i.e., part of the point vector corresponds to e.g. an actual position in Euclidean space whereas the remaining vector entries store e.g. visual information from a picture (and its corresponding embedding). Even though it is fine for me to use a Euclidean cost for the entire vector, the cost between each pair of points should be separated as a weighted cost such that I can tune the effects of the positional vs. visual data have. One way I have thought of doing this is that I could manually multiply all positions corresponding to one of the two features of my point vector by a certain factor. Yet, I feel like there must be a neater way to do this using the available functionalities. Moreover, it would be nice to really separate the two cost terms as this gives the option to combine two different costs for further analysis. Perhaps somebody else has already tried setting up a multi-feature cost function.
Thanks for your help,
Tiago Hungerland
Beta Was this translation helpful? Give feedback.
All reactions