Here, we’ll walk through the process of preprocessing 2D embedding data to obtain regular hexagons.
First, you’ll need 2D embedding data generated for your training data. For our example, we’ll use a 3- S-curve dataset with four additional noise dimensions. We’ve used UMAP as our non-linear dimension reduction technique to generate embeddings for the S-curve data.
scaled_umap <- gen_scaled_data(data = s_curve_noise_umap)
glimpse(scaled_umap)
#> List of 3
#> $ scaled_nldr: tibble [3,750 × 3] (S3: tbl_df/tbl/data.frame)
#> ..$ UMAP1: num [1:3750] 0.276 0.927 0.81 0.137 0.476 ...
#> ..$ UMAP2: num [1:3750] 0.915 0.347 0.242 0.657 0.799 ...
#> ..$ ID : int [1:3750] 1 2 3 5 6 7 9 10 11 12 ...
#> $ lim1 : num [1:2] -8.7 10.9
#> $ lim2 : num [1:2] -9.46 8.89
gen_scaled_data
function preprocesses the 2D embedding
data to obtain regular hexagons.