Skip to content

Conversation

@rafaqz
Copy link
Member

@rafaqz rafaqz commented Nov 11, 2025

This PR tests the correlation between LeastCostPath and RSP with high theta, and RandomWalk/RSP with low theta.

@ninbrm this will need your input as to whether this makes sense, but it seems like a fairly intuitive way to explicitly link and test the three approaches.

The betweenness measures dont end up exactly the same. The correlation increasese as theta gets lower/higher but the overall magnitudes dont necessarily match. Thats why cor is used rather than isapprox.

On the LCP / RSP high theta side things start to break with NaNs and other kinds of overflow as theta gets too high, so we can't test all the outputs.

Another consideration is we should test it accross distance_transformation values, like alpha=2.0, as the correlation seems to drop off a lot.

@rafaqz
Copy link
Member Author

rafaqz commented Nov 12, 2025

We should also test if changes in theta increase the similarity as expected.

Another possibility is to try Float128 for better accuracity solves.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants