topepo / FES

Code and Resources for "Feature Engineering and Selection: A Practical Approach for Predictive Models" by Kuhn and Johnson
https://bookdown.org/max/FES
GNU General Public License v2.0
724 stars 237 forks source link

Section 6.2: Typo? #47

Closed Nathan-Furnal closed 5 years ago

Nathan-Furnal commented 5 years ago

Hello everyone,

I believe there is a typo under the explanation of the hinge function. :

One other feature construction method related to splines and the multivariate adaptive regression spline (MARS) model (Friedman 1991) is the single, fixed knot spline. The hinge function transformation used by that methodology is.

h ( x ) = x I ( x > 0 )

--

Where I is an indicator function that is zero when x is greater than zero and zero otherwise.

Shouldn't it be , where I is an indicator function that is x when x is greater than zero and zero otherwise.

Thank you!

topepo commented 5 years ago

That is correct. Thanks for finding that.