GQTSOM {EmbedSOM} | R Documentation |
Train a Growing Quadtree Self-Organizing Map
Description
Train a Growing Quadtree Self-Organizing Map
Usage
GQTSOM(
data,
init.dim = c(3, 3),
target_codes = 100,
rlen = 10,
radius = c(sqrt(sum(init.dim^2)), 0.5),
epochRadii = seq(radius[1], radius[2], length.out = rlen),
coords = NULL,
codes = NULL,
coordsFn = NULL,
importance = NULL,
distf = 2,
nhbr.distf = 2,
noMapping = F,
parallel = F,
threads = if (parallel) 0 else 1
)
Arguments
data |
Input data matrix |
init.dim |
Initial size of the SOM, default |
target_codes |
Make the SOM grow linearly to at most this amount of nodes (default |
rlen |
Number of training iterations |
radius |
Start and end training radius, as in |
epochRadii |
Precise radii for each epoch (must be of length |
coords |
Quadtree coordinates of the initial SOM nodes. |
codes |
Initial codebook |
coordsFn |
Function to generate/transform grid coordinates (e.g. |
importance |
Weights of input data dimensions |
distf |
Distance measure to use in input data space (1=manhattan, 2=euclidean, 3=chebyshev, 4=cosine) |
nhbr.distf |
Distance measure to use in output space (as in |
noMapping |
If |
parallel |
Parallelize the training by setting appropriate |
threads |
Number of threads to use for training. Defaults to 0 (chooses maximum available hardware threads) if |