Learn R Programming

Umatrix (version 4.0.1)

generate_data: Generative ESOM

Description

Function to generate new data with the same structure as the input data.

Usage

generate_data(Data, density_radius, Cls = NULL, gen_per_data = 10)

Value

Returns a list of results.

original_data

The input data.

original_classes

The input classes.

generated_data

The generated data.

generated_classes

The generated classes.

Arguments

Data

Matrix of data (as submitted to Umatrix generation)

density_radius

Numeric value of data generation radius

Cls

Classification of the data as a vector

gen_per_data

New isntances per original iunstance to be generated

References

Ultsch A, Lotsch J: Machine-learned cluster identification in high-dimensional data. J Biomed Inform. 2017 Feb;66:95-104. doi: 10.1016/j.jbi.2016.12.011. Epub 2016 Dec 28.

Examples

Run this code
if (FALSE) {
data("Hepta")
data("HeptaBMU")
HeptaData <- Hepta$Data
HeptaCls 

Run the code above in your browser using DataLab