MARS tuning number of terms

Hi,

In the earth package in R, the tuning paramters are described as the maximum degree of interactions and the number of terms retained in the final model.. Just to clarify for myself:

Is the number of terms the same thing as the number of knots to retain?

Thanks

The terms in MARS are single knot splines (basically ReLU before that was a thing). So each term is associated with a knot. The number of knots per variable varies based on the data since the algorithm can select the same variable multiple times.

Thanks @Max your help. I thought this might be the case but wanted to be doubly sure

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.