Closed samihamdan closed 1 year ago
Have you tried with the new API to see if this still happen?
Good question. I think we have the same problem in the PipelineCreator. I checked on branch: julearn_sk_pandas (If I remember correctly this is the newest)
(PipelineCreator(problem_type="classification")
.add("confound_removal", model_confound=RandomForestRegressor())
)
Same error message and I think its the same fix. Like using [RandomForestRegressor] resolves it because now the iterator is what we expected.
solved in #219
Describe the bug If I have a model as a hyperparameter and only provide the model thats also an iterable lets say RandomForestRegressor(), then julearn understands it as a iterable because it is one. Therefore, it thinks these are options of hyper parameters which these arent. Current work around is to put the iterable model into a list.
To Reproduce
Expected behavior If something is a iterable and model its used as model.
Screenshots
System (please complete the following information):