domains
builtin
¶
domains(
data,
columns,
k,
*,
method="consensus",
neighbors=16,
realizations=100,
seed=0,
)
Domains of samples from ensemble spatial clustering of their values, after Martin and Boisvert (2018), doi:10.1016/j.cageo.2018.08.005.
The columns are standardized and every clustering is k-means. Each sample's features come from its spatial neighbors, so the domains follow the values and stay contiguous in space.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
data
|
PointSet or Drillholes
|
Samples, e.g. composites, holding |
required |
columns
|
sequence of str
|
Numeric columns clustered; a sample with NaN in any gets no domain. |
required |
k
|
int
|
Number of domains. |
required |
method
|
(consensus, autocorrelation, dual)
|
|
"consensus"
|
neighbors
|
int
|
Spatial neighbors of a sample; realizations draw between half and twice as many. Also the neighborhood of the spatial entropy. |
16
|
realizations
|
int
|
Clusterings in the ensemble; unused by |
100
|
seed
|
int
|
Seed; the domains do not depend on the number of threads. |
0
|
Returns:
| Type | Description |
|---|---|
Domains
|
|
Used in