13o-bbr-bbq / machine_learning_security

Source code about machine learning and security.
1.96k stars 648 forks source link

Why use this standardization method in the Analytics? #21

Closed fei161 closed 5 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!!