rafalab / dsbook-part-2

Repository for Advanced Data Science Book
56 stars 27 forks source link

Warning messages in `28.3 Over-smoothing` #2

Open pauluhn opened 1 year ago

pauluhn commented 1 year ago

When I run the code in R, I get the same warnings but we'd want to suppress? or fix the issue for the pdf?

pdf: http://rafalab.dfci.harvard.edu/dsbook-part-2/ml/cross-validation.html#over-smoothing

code: https://github.com/rafalab/dsbook-part-2/blob/389d7c8a799ee8d866c8156b78c221c0ec4890e6/ml/cross-validation.qmd#L148C1-L158C4

2nd edition 1st edition
Screenshot 2023-09-17 at 3 13 33 PM Screenshot 2023-09-17 at 3 14 44 PM