Skip to content

AyFait/One-Click-Feature-Scaling-Algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

One-Click-Feature-Scaling-Algorithm

#THIS IS A PREPROCESSING STAGE/STEP

#CAN BE USED BEFORE OF AFTER PRINCIPAL COMPONENT ANALYSIS (PCA): which reduces number of features

#It advised to use this before PCA though

Skips the yTrain Col

Skips categorical cols cus they are known to have close range of values (optional)

Skips cols with close/small range of values (optional)

Target for small range of vals

#Methods:

#DIV BY MAX

elmt = elmt / max

print range of values (min to max)

#MEAN NORM

get avg

elmt = (elmt - avg) / (max - min)

print range of values (min to max)

#Z-SCORE NORM

get stdDev

get avg

elmt = (elmt - avg) / stdDev

print range of values (min to max)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published