| summary.orthoMTL | R Documentation |
Displays a detailed summary of a fitted orthoMTL model,
including hyperparameters, coefficient matrix statistics, and
top features by mean absolute coefficient.
## S3 method for class 'orthoMTL'
summary(object, n_top = 5, ...)
object |
A fitted model object of class |
n_top |
Number of top features to display. Default: 5. |
... |
Additional arguments (currently ignored). |
Invisibly returns object.
set.seed(42)
n <- 100; p <- 10; n_tasks <- 3
X <- matrix(rnorm(n * p), n, p)
colnames(X) <- paste0("V", seq_len(p))
Y <- X %*% matrix(rnorm(p * n_tasks), p) + matrix(rnorm(n * n_tasks), n) * 0.1
fit <- orthoMTL(X, Y, lambda = 1e-3)
summary(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.