Description Usage Arguments Details Value Examples
convex_biclustering
calculates the convex biclustering solution path
at a user-specified grid of lambda values (or just a single value). It is,
in general, difficult to know a useful set of lambda values a priori,
so this function is more useful for timing comparisons and methodological
research than applied work.
1 2 3 4 5 6 7 8 9 10 11 12 13 | convex_biclustering(
X,
...,
lambda_grid,
row_weights = sparse_rbf_kernel_weights(k = "auto", phi = "auto", dist.method =
"euclidean", p = 2),
col_weights = sparse_rbf_kernel_weights(k = "auto", phi = "auto", dist.method =
"euclidean", p = 2),
X.center.global = TRUE,
norm = 2,
status = (interactive() && (clustRviz_logger_level() %in% c("MESSAGE", "WARNING",
"ERROR")))
)
|
X |
The data matrix (X).
If |
... |
Unused arguements. An error will be thrown if any unrecognized arguments as given. |
lambda_grid |
A user-supplied set of lambda values at which to solve the convex biclustering problem. These must be strictly positive values and will be automatically sorted internally. |
row_weights |
One of the following:
Note that the weights will be renormalized to sum to 1/√{n} internally. |
col_weights |
One of the following:
Note that the weights will be renormalized to sum to 1/√{p} internally. |
X.center.global |
A logical: Should |
norm |
Which norm to use in the fusion penalty? Currently only |
status |
Should a status message be printed to the console? |
Compared to the CBASS
function, the returned object
is much more "bare-bones," containing only the estimated U matrices,
and no information used for dendrogram or path visualizations.
An object of class convex_biclustering
containing the
following elements (among others):
X
: the original data matrix
n
: the number of observations (rows of X
)
p
: the number of variables (columns of X
)
U
: a tensor (3-array) of clustering solutions
1 2 3 4 5 | ## Not run:
biclustering_fit <- convex_biclustering(presidential_speech, lambda_grid = 1:100)
print(biclustering_fit)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.