-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need to use our own permutations of indices in Local Moran's Index #344
Comments
Hi, I don't think that there's anything blocking the implementation of this. Essentially, if someone passes an array of the right shape to Given you have a use case for that, could you try putting together a pull request implementing this? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there,
We are in need to use our own permutations that maintain certain linearity of the data when calculating LMI. This is done at the function Moran_Local(), which in turn calls crand() (esda/crand.py). Could you please implement that the function takes an external array of permuted indices (within crand() called permuted_ids), that are user provided? That would be perfect for our needs and could be tailored to other users that may need different permutation strategies.
For example, vec_permutations(10, 11, 10, 66666) within crand() would result in:
However, if we want to keep certain linearly restrained permutations we would use an array similar to this:
In summary, in our application, we do not want to use a totally random permutation of the data and such, we propose to add this feature to the function.
Thanks in advance,
Marc
The text was updated successfully, but these errors were encountered: