Learn R Programming

sits (version 0.13.0)

.sits_som_bayes_estimate: Probability of a sample belongs to a cluster using bayesian filter

Description

Computes the probability of a sample belongs to a cluster using bayesian filter.

Usage

.sits_som_bayes_estimate(data, kohonen_obj, labelled_neurons, som_radius)

Arguments

data

A tibble with samples.

kohonen_obj

Object that contains all parameters of SOM provided by "kohonen" package

labelled_neurons

A tibble containing information about each neuron.

som_radius

Distance in the SOM map to consider neighbours

Value

Returns the probability of a sample belongs to a cluster based on the class of neuron and its neighborhood.