This repository was archived by the owner on Dec 6, 2023. It is now read-only.

Description
Hi, in my project, I combine pyearth with BaggingRegressor to get a bagging result, my code is as follow:
bagger=BaggingRegressor(base_estimator=Earth(penalty =20,feature_importance_type="rss",max_terms =10,use_fast=True,allow_missing=True),n_estimators=1000,n_jobs=-1,random_state=random.randint(1,100),bootstrap=True,max_features =5)
In one small scale dataset, the code run correctly, but in a large one (4381 cols * 832 rows), the code give a ValueError: assignment destination is read-only, and if I set the parameter n_jobs =1 ,the code can run correctly. So the py-earth have some bugs or error combine with BaggingRegressor on multiple CPUs, which can speed up the computing