I am currently facing a problem using earth implementation of MARS in python. When I fit my data like this :
model=Earth()
model.fit(data1,data2)
print model.summary()
It gives me this :
Basis Function Pruned Coefficient
(Intercept) No 1.00313
x1 Yes None
x3 Yes None
x4 Yes None
x2 Yes None
x0 Yes None
MSE: 0.0745, GCV: 0.0783, RSQ: 0.0000, GRSQ: 0.0000
But the fitting doesn't please with it and it seems that it only uses linear basis function. I would like to force it using another basis function. How can I do that ?