plot.citommn: Plot a fitted MMN model

View source: R/mmn.R

plot.citommnR Documentation

Plot a fitted MMN model

Description

Visualizes either the permutation importance of the data streams or the architecture of a Multi-Modal Neural Network.

Usage

## S3 method for class 'citommn'
plot(
  x,
  plot_type = c("importance", "arch"),
  n_permute = 10L,
  device = NULL,
  ...
)

Arguments

x

a model created by mmn

plot_type

"importance" draws the permutation importance of each data stream, "arch" the architecture: one row per data stream with its submodel, the concatenation, the fusion network and the output. plot() on a single create_architecture object still draws that submodel's layers in full.

n_permute

number of permutations per data stream, only used for "importance"

device

device on which to evaluate, defaults to the device the model was trained on

...

passed to barplot, only used for "importance"

Value

invisibly, the importance table for "importance" and NULL otherwise


cito documentation built on Nov. 23, 2026, 5:07 p.m.