ASR {OSNMTF} | R Documentation |
Average Residue
Description
To calculate average residues of the bi-clustering results
Usage
ASR(row_cluster,col_cluster,W)
Arguments
row_cluster |
The cluster results of the rows of W, this value should be a vector whose length is the same as the number of rows in W |
col_cluster |
The cluster results of the columns of W, this value should be a vector whose length is the same as the number of columns in W |
W |
The matrix to be factorized |
Value
The average residues of the bi-clustering results
Author(s)
Xiaoyao Yin
Examples
W <- simu_data_generation()
OSNMTF_res <- OSNMTF(W,k=5,l=4)
row_cluster <- OSNMTF_res[[2]][[1]]
column_cluster <- OSNMTF_res[[2]][[2]]
ASR_value <- ASR(row_cluster,column_cluster,W)
[Package OSNMTF version 0.1.0 Index]