powered by
SoftMax(x, lambda = 2, avg = mean(x, na.rm = T), std = sd(x, na.rm = T))
x
1 / [ 1+ exp( (x-AVG(x))/(LAMBDA*SD(X)/2*PI) ) ]
Torgo, L. (2010) Data Mining using R: learning with case studies, CRC Press (ISBN: 9781439810187).
http://www.dcc.fc.up.pt/~ltorgo/DataMiningWithR
scale
LinearScaling
ReScaling
## A simple example with the algae data set summary(SoftMax(algae[,'NO3'])) summary(algae[,'NO3'])
Run the code above in your browser using DataLab