Answer the question
In order to leave comments, you need to log in
How to normalize an array in php?
I have a formula to normalize a data vector in the range -1 to 1
The R package has a standard function data.Normalization
n5 - normalization in range <-1,1> ((x-mean)/max(abs(x-mean) ))
but I can't figure out how to program it in php,
does anyone know what the mean is, what should he do?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question