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.

* generate affinity matrix from geometries

* refactor and document, and sensitivity

* sensitivity and other movment modes

* renames

* return missing methods

* fix RW algorithm

* reorganise documentation for new package structure

* more docs

* jet

* docs and examples

* tests

* passing tests

* bugfix jet

* docs and tests

* reorganise files

* move moving files

* quarto docs

* working notebooks

* notebook fixes

* more notebook work

* ConnectedHabitat -> FunctionalHabitat

* renames

* reorganise for finalize step

* add brams calibration step

* bugfixes

* ConScapeProblem

* transition -> step

* passing tests

* no OldConScape in extras

* no threading in LinearSolver

* return OldConScape to extras

* bugfixes

* Optim in docs

* use Graphs from branch until its merged

* move types out of ConScape.jl fiel

* remove init

* use the ReadOnlyArrays package for ReadOnlyArray

* fix mosaic tests

* move sources block down

* run CI on any PR

* no lts in CI for now

* remove JET its failing in CI

* mosaic is slightly broken

* bugfix windowed tests

* remove unreliable test
@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.

@rafaqz rafaqz mentioned this pull request Nov 26, 2025
Base automatically changed from new_version to dev January 17, 2026 07:08
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