Skip to content

Sparse Matrix Extension #4

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

Merged
merged 19 commits into from
Apr 17, 2020
Merged

Sparse Matrix Extension #4

merged 19 commits into from
Apr 17, 2020

Conversation

keithdoggett
Copy link
Owner

Implemented sparse matrix C extension to help optimize calculations involving weights. Added it in every case where it was feasible to use it.

Modified WeightsMatrix to hold it under the #sparse method. Updated Lag module to use sparse calculations.

Integrated it into #stat and #mc methods for global and local stats.

Fixed naming of methods on WeightsMatrix and Numo::NArray classes.

…eys parameter in constructor and extract it from weights hash
…eight matrices with the proper DOK as the input weights. Dense and sparse return objects that computations can be done on
…od to csr matrix to get hash with coordinates as keys
…ut a vector or other data. Changed neighborless monte carlo default value from 1 to permutations so that the output p value will be 1.00
…w, respectively. Changed local moran variance method to use sparse matrix
@keithdoggett keithdoggett merged commit 7b04a33 into master Apr 17, 2020
@keithdoggett keithdoggett deleted the sparse-matrix-ext branch April 17, 2020 18:38
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.

1 participant