Comments (2)
I agree with @nickblink.
When lambda is maximized, the penalty term is maximized, forcing the final form of g to have an nth-degree derivative = 0 (else the RSS = infinity).
For g1 that is a 1st degree polynomial and for g2 that is a 2nd degree polynomial.
The best fit to the test data will occur when the degree of polynomial that represents the true distribution is used, which could be 1st or 2nd degree depending on the underlying distribution of the data.
from stat-learning.
Agreed.
The difference between g1 and g2 is the degree of their polynomial, but overfitting does not always occur. The function that wins the bias-variance trade-off in the context of given data set will give the best test RSS.
from stat-learning.
Related Issues (20)
- Chapter 3 exercise 1
- Not Kosher Proof 0=0
- ch3: applied.Rmd answer needs to be edited
- Ch4-Exercise4 HOT 1
- Ch10 Ex7
- Ch2 Q8 C
- Chapter 9 Question 7 HOT 1
- Chapter 10 Question 7 HOT 1
- Clarify usage of the 0.2 standard deviation criterion in Chapter 7 Q10
- Suggestion for chapter 7 exercise 12
- Suggestion for Chapter 2 question 8,c,iii
- Exercise 5a Chapter 10
- Any update for ISLR 2nd edition?
- Unexpected > in chapter 2 applied.R
- Question 10.7
- minor typo in chapter 5 exercise #5.c
- Ch7 9(d) bs(4) has *ONE* knot HOT 1
- Ch 8 Ex 2 HOT 1
- Ch3 Ex9c
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stat-learning.