Skip to contents

All functions

calc_df_mars()
Calculate degrees of freedom of MARS
correct_df()
Correct df given a fitted earth.object
flag.esl.trainset
Datasets The indicator for training and test sets for the Spam email data. See also: https://hastie.su.domains/ElemStatLearn/
sol_mars_df_and_penalty()
Solve penalty factor by equating empirical df
spam
Datasets Spam email data. Also accessible from https://archive.ics.uci.edu/dataset/94/spambase, https://hastie.su.domains/ElemStatLearn/, or https://github.com/szcf-weiya/ESL-CN/tree/master/data/Spam.