scikit-learn-contrib / py-earth

A Python implementation of Jerome Friedman's Multivariate Adaptive Regression Splines
http://contrib.scikit-learn.org/py-earth/
BSD 3-Clause "New" or "Revised" License
455 stars 121 forks source link

It's possible for the same linear basis function to be selected multiple times in the forward pass #135

Closed jcrudy closed 7 years ago

jcrudy commented 7 years ago

See issue #134. The problem is caused by the fact that there is no check for an existing linear basis function when a linear basis function is added.

jcrudy commented 7 years ago

Fixed.