create_simMat: Generate similarity matrix with uniform confusion rate to...

View source: R/create_simMat.R

create_simMatR Documentation

Generate similarity matrix with uniform confusion rate to none-self clusters

Description

Create a similarity matrix assuming the misclassification error distribute uniformly in all clusters

Usage

create_simMat(K, confuse_rate)

Arguments

K

A integer for number of cluster

confuse_rate

A float for confusion rate, uniformly to none-self clusters

Value

a similarity matrix with uniform confusion with other cluster

Examples

create_simMat(4, 0.1)


huangyh09/DCATS documentation built on Nov. 25, 2022, 7:02 a.m.