Description Usage Arguments Details Value Examples
One-Hot Binary Matrix Scaling
1 |
data |
a one-hot binary matrix |
The scaling technique is taken from Outlier Analysis (Aggarwal, 2017), section 8.3. For each column j in the binary transformed matrix, a normalization factor is defined as sqrt(ni \* pj \* (1-pj)), where ni is the number of distinct categories in the reference variable from the raw data set and pj is the proportion of records taking the value of 1 for the jth variable
A scaled numerical matrix is returned.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.