getEns {DCG} | R Documentation |

## generate ensemble matrix
`getEns`

get ensemble matrix from given similarity matrix and temperature

### Description

generate ensemble matrix
`getEns`

get ensemble matrix from given similarity matrix and temperature

### Usage

```
getEns(simMat, temperature, MaxIt = 1000, m = 5)
```

### Arguments

`simMat` |
a similarity matrix |

`temperature` |
a numeric vector of length 1, indicating the temperature used to transform the similarity matrix to ensemble matrix |

`MaxIt` |
number of iterations for regulated random walks |

`m` |
maxiumnum number of time a node can be visited during random walks |

### Details

This function involves two steps.
It first generate similarity matrices of different variances
by taking the raw similarity matrix to the power of each
temperature. Then it called the function `EstClust`

to perform random walks in the network to identify clusters.

### Value

a matrix.

[Package

*DCG*version 0.9.3 Index]