View source: R/feature-utils.R
normalize_to_prob | R Documentation |
행렬의 각 행이 합계 1의 값을 갖도록 값을 변환.
normalize_to_prob(p, small_p = NULL)
p |
실수형 행렬. 모든 값은 0 이상이어야 한다. |
small_p |
값 변환 전 행렬 |
행렬.
x <- matrix(runif(15), nrow = 5) normalize_to_prob(x) normalize_to_prob(x, small_p = 0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.