Cleans the samples based on SOM map information
sits_som_clean_samples(
som_map,
prior_threshold = 0.6,
posterior_threshold = 0.6,
keep = c("clean", "analyze")
)
tibble with an two additional columns. The first indicates if each sample is clean, should be analyzed or should be removed. The second is the posterior probability of the sample.
Returned by sits_som_map
.
Threshold of conditional probability (frequency of samples assigned to the same SOM neuron).
Threshold of posterior probability (influenced by the SOM neighborhood).
Which types of evaluation to be maintained in the data.