详细内容看下面两位博主大神写的吧
https://www.cnblogs.com/pinard/p/9093890.html
https://blog.csdn.net/weishiym/article/details/79629329
机器学习值特征工程
原文:https://www.cnblogs.com/tsdblogs/p/9643274.html