R/coclust_dcsbm.R
co_dcsbm_path-class.RdAn S4 class to represent a fit of a degree corrected stochastic block model for co_clustering, extend icl_path-class.
modela co_dcsbm-class object to store the model fitted
namegenerative model name
iclicl value of the fitted model
Knumber of extracted clusters over row and columns
Krownumber of extracted row clusters
Kcolnumber of extracted column clusters
cla numeric vector with row and columns cluster indexes
obs_statsa list with the following elements:
counts: numeric vector of size K with number of elements in each clusters
din: numeric vector of size K which store the sums of in-degrees for each clusters
dout: numeric vector of size K which store the sums of out-degrees for each clusters
x_counts: matrix of size K*K with the number of links between each pair of clusters
co_x_counts: matrix of size Krow*Kcol with the number of links between each pair of row and column cluster
clrowa numeric vector with row cluster indexes
clcola numeric vector with column cluster indexes
Nrownumber of rows
Ncolnumber of columns
patha list of size K-1 with each part of the path described by:
icl1: icl value reach with this solution for alpha=1
logalpha: log(alpha) value were this solution is better than its parent
K: number of clusters
cl: vector of cluster indexes
k,l: index of the cluster that were merged at this step
merge_mat: lower triangular matrix of delta icl values
obs_stats: a list with the elements:
counts: numeric vector of size K with number of elements in each clusters
din: numeric vector of size K which store the sums of in-degrees for each clusters
dout: numeric vector of size K which store the sums of out-degrees for each clusters
x_counts: matrix of size K*K with the number of links between each pair of clusters
co_x_counts: matrix of size Krow*Kcol with the number of links between each pair of row and column cluster
logalphavalue of log(alpha)
ggtreedata.frame with complete merge tree for easy plotting with ggplot2
treenumeric vector with merge tree tree[i] contains the index of i father
ggtreerowdata.frame with complete merge tree of row clusters for easy plotting with ggplot2
ggtreecoldata.frame with complete merge tree of column clusters for easy plotting with ggplot2
train_histdata.frame with training history information (details depends on the training procedure)