Learn R Programming

RCSL (version 0.99.95)

BDSM: Calculate the bolock-diagnal matrix B min_B>=0, B*1=1, F'*F=I ||B - A||_1 + r*||B||^2 + 2*lambda*trace(F'*L*F)

Description

Calculate the bolock-diagnal matrix B min_B>=0, B*1=1, F'*F=I ||B - A||_1 + r*||B||^2 + 2*lambda*trace(F'*L*F)

Usage

BDSM(S, C)

Arguments

S

the calculated initial similarity matrix S

C

the estimated number of clusters C

Value

B block-diagonal matrix

y clustering results

Examples

Run this code
# NOT RUN {
gfData <- GenesFilter(yan[1:100,1:15])
res_SimS <- SimS(gfData)
C <- EstClusters(res_SimS$drData,res_SimS$S)
resBDSM <- BDSM(res_SimS$S,C)
resBDSM$y
resBDSM$B
# }

Run the code above in your browser using DataLab