- Advanced Machine Learning with R
- Cory Lesmeister Dr. Sunil Kumar Chinnamgari
- 208字
- 2021-06-24 14:24:39
Elastic net
The power of elastic net is that it performs feature extraction, unlike ridge regression, and it'll group the features that LASSO fails to do. Again, LASSO will tend to select one feature from a group of correlated ones and ignore the rest. Elastic net does this by including a mixing parameter, alpha, in conjunction with lambda. Alpha will be between 0 and 1, and as before, lambda will regulate the size of the penalty. Please note that an alpha of zero is equal to ridge regression and an alpha of 1 is equivalent to LASSO. Essentially, we're blending the L1 and L2 penalties by including a second tuning parameter with a quadratic (squared) term of the beta coefficients. We'll end up with the goal of minimizing (RSS + λ[(1-alpha) (sum|Bj|2)/2 + alpha (sum |Bj|)])/N).
Let's put these techniques to the test. We'll utilize a dataset I created to demonstrate the methods. In the next section, I'll discuss how I created the dataset with a few predictive features and some noise features, including those with high correlation. I recommend that, once you feel comfortable with this chapter's content, you go back and apply them to the data examined in the prior two chapters, comparing performance.
- Augmented Reality with Kinect
- 從零開(kāi)始學(xué)51單片機(jī)C語(yǔ)言
- Camtasia Studio 8:Advanced Editing and Publishing Techniques
- Learning Stencyl 3.x Game Development Beginner's Guide
- STM32嵌入式技術(shù)應(yīng)用開(kāi)發(fā)全案例實(shí)踐
- 面向?qū)ο蠓治雠c設(shè)計(jì)(第3版)(修訂版)
- 深入理解序列化與反序列化
- 龍芯自主可信計(jì)算及應(yīng)用
- 電腦組裝與維護(hù)即時(shí)通
- 新編電腦組裝與硬件維修從入門到精通
- 3D Printing Blueprints
- Angular 6 by Example
- Advanced Machine Learning with R
- 筆記本電腦現(xiàn)場(chǎng)維修實(shí)錄
- 微服務(wù)架構(gòu)實(shí)戰(zhàn):基于Spring Boot、Spring Cloud、Docker