log_Softmax {mimiSBM} | R Documentation |
log softmax of matrices (by row)
Description
log softmax of matrices (by row)
Usage
log_Softmax(log_X)
Arguments
log_X |
a matrix of log(X) |
Value
X with log_softmax function applied on each row
Examples
set.seed(42)
X <- matrix(rnorm(15,mean=5),5,3)
log_X <- log(X)
X_softmax <- log_Softmax(X)
[Package mimiSBM version 0.0.1.3 Index]