cerlymarco / linear-tree

A python library to build Model Trees with Linear Models at the leaves.
MIT License
338 stars 54 forks source link

ValueError: Invalid parameter linearforestregression for estimator Pipeline #15

Closed FQMei closed 2 years ago

FQMei commented 2 years ago

Great work! I'm new to ML and stuck with this. I'm trying to combine pipeline and GridSearch to search for best possible hyperparameters for a model.

image

I got the following error:

image

Kindly help : )

cerlymarco commented 2 years ago

Hi,

it's linearforestregressor__n_estimatorsnot linearforestregression__n_estimators

All the best

FQMei commented 2 years ago

Oh, I made a stupid mistake. Thank you for your time.