Scale distance using a sigmoid function. The main purpose is to reduce the effects of small distances (those distances are most likely from random noise of ADT signals) This is an updated function. This function will distingrish distances between negative and positive from those within negative/positive groups. Only distances within negative/positive groups will be scaled. This function may take longer time than normal one...
1 | scaleDistUpdateCpp(data, n, k, c)
|
data |
data matrix of ADT. |
n |
n for Sigmoid function. |
k |
k for Sigmoid function. |
c |
c is a vector that contains constant value that seaprate negative and positive for each ADT feature. By default, c = 1,1,...,1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.