pygeoda.lisa¶
- class pygeoda.lisa(lisa_obj)[source]¶
A LISA class wrappers the results of LISA computation
- gda_lisa An object of GeoDaLISA
- __init__(lisa_obj)[source]¶
Constructor of lisa object
- Parameters
lisa_obj (Object) – An object/pointer of LISA class
Methods
__init__
(lisa_obj)Constructor of lisa object
lisa_bo
(p)Bonferroni bound value Get Bonferroni bound value based on current LISA computation and current significat p-value
lisa_clusters
()Get local cluster indicators Get the local cluster indicators returned from LISA computation.
lisa_colors
()Get the cluster colors of LISA computation.
lisa_fdr
(p)False Discovery Rate value of local spatial autocorrelation Get False Discovery Rate value based on current LISA computation and current significant p-value
lisa_labels
()Get the cluster labels of LISA computation.
lisa_num_nbrs
()Get the number of neighbors of every observations in LISA computation.
lisa_pvalues
()Get pseudo-p values of LISA Get the local pseudo-p values of significance returned from LISA computation.
lisa_values
()Get LISA values Get the local spatial autocorrelation values returned from LISA computation.
run
()Call to run LISA computation
set_permutations
(num_perm)Set the number of permutations for the LISA computation
set_threads
(num_threads)Set the number of CPU threads for the LISA computation