13o-bbr-bbq / machine_learning_security

Source code about machine learning and security.
1.98k stars 657 forks source link

Why use this standardization method in the Analytics? #21

Closed fei161 closed 6 years ago

fei161 commented 6 years ago

Why use 'x = (x-mean)/mean' standardization In line 15 of file analyze_kmeans.py? Why not use max-min standardization or z-score standardization ?

13o-bbr-bbq commented 6 years ago

in my past experiment, accuracy of x = (x-mean)/mean is higher than max-min, z-score.
but, i'll try to use max-min, z-score again.
thanks for your advise!!