| M_ABCdeep | R Documentation |
The deep-learning counterpart of M_ABC: runs
ABCdeep.SingleInMultiple per source (autoencoder embedding +
latent clustering for the base partitions), row-stacks the per-iteration label
matrices, and builds one consensus dissimilarity via
f.clustABC.MultiSource. The ABC algorithm of
\insertCiteAmaratunga2008MosaiClusteR is preserved end to end; only Step 4
is deep. There is no Python/torch dependency and no PCA fallback (see
ABCdeep.SingleInMultiple).
M_ABCdeep(
List,
weighting = rep("var", length(List)),
normalize = rep(FALSE, length(List)),
gr = c(),
bag = rep(TRUE, length(List)),
numsim = 500,
numvar = rep(100, length(List)),
NC = NULL,
dissimilarity = "mabc",
final_linkage = "ward",
alpha = 0.625,
mds = FALSE,
topk_frac = 0.2,
latent_dim = "auto",
hidden_units = 32L,
ae_epochs = 80L,
ae_lr = 0.001,
cluster_in_latent = "ward",
linkage = rep("ward.D2", length(List)),
nugget_type = "between",
nugget_args = list(),
min_samples = 40L,
seed = NULL
)
List |
A list of |
weighting, normalize, bag, numvar |
Per-source vectors (recycled to |
gr |
Unused; kept for compatibility. |
numsim |
Iterations per source. |
NC |
Base-cluster count per source ( |
dissimilarity |
Consensus dissimilarity, |
final_linkage, alpha |
Final clustering controls. |
mds |
Logical; MDS of the consensus dissimilarities. |
topk_frac |
Fraction of top-weighted features the autoencoder focuses on
(default 0.2); forwarded to |
latent_dim, , ae_epochs, ae_lr, cluster_in_latent, linkage |
Autoencoder / latent-clustering controls (scalar or length- |
nugget_type, nugget_args |
Forwarded to the nugget weighting. |
min_samples |
Warn (per source) when |
seed |
Optional RNG seed. |
A list of class "M_ABC" with DistM and Clust.
ABCdeep.SingleInMultiple, M_ABC,
f.clustABC.MultiSource
data(mosaic_toy)
fit <- M_ABCdeep(mosaic_toy$List, numsim = 40, NC = 3, ae_epochs = 40, seed = 1)
table(stats::cutree(stats::as.hclust(fit$Clust), 3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.