You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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:
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 permutations, instead of an integer, we can just use that directly.
Given you have a use case for that, could you try putting together a pull request implementing this?
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: