View source: R/generate_data.R
generate_data | R Documentation |
Function to generate new data with the same structure as the input data.
generate_data(Data, density_radius, Cls = NULL, gen_per_data = 10)
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 |
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. |
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.
## Not run:
data("Hepta")
data("HeptaBMU")
HeptaData <- Hepta$Data
HeptaCls <y- Hepta$Cls
HeptaGenerated <- generate_data(HeptaData, 1, HeptaCls )
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.