dot-al_s2_bild_closest_vertex_graph: Build a matrix representing a graph made of the closest...

Description Usage Arguments Value Author(s)

Description

This function takes a sits tibble and returns a matrix representation of a similarity graph where only the most similar samples are connected.

Usage

1
.al_s2_bild_closest_vertex_graph(samples_tb, sim_method, closest_n)

Arguments

samples_tb

A sits tibble with both labelled and unlabelled samples (i.e. NA).

sim_method

A character. A method for computing the similarity among samples. See proxy::simil for details.

closest_n

An integer. The number of most similar samples to link in the graph.

Value

1
2
3
4
           A lower triangular matrix. The matrix's upper
                   triangular part along its principal diagonal are set
                   to NA. The rows in the matrix's lower triangular part
                   are non-NA for the closest_n elements.

Author(s)

Alber Sanchez, alber.ipia@inpe.br


e-sensing/activelearning documentation built on Dec. 20, 2021, 2:21 a.m.