You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm trying to use featurewiz in a pipeline, but it doesn't seem to be working.
from featurewiz import FeatureWiz
from sklearn.pipeline import Pipeline
from sklearn.ensemble import RandomForestClassifier, RandomForestRegressor
pipeline = Pipeline([('fw', FeatureWiz()),('model', RandomForestClassifier())])
# %%
pipeline.fit(X_train, y_train)
I got this error:
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 2 dimensions. The detected shape was (2, 209334) + inhomogeneous part.
The training data is just two columns (numeric), and the target binary (0/1).
Thanks!
The text was updated successfully, but these errors were encountered:
Hi, I'm trying to use featurewiz in a pipeline, but it doesn't seem to be working.
I got this error:
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 2 dimensions. The detected shape was (2, 209334) + inhomogeneous part.
The training data is just two columns (numeric), and the target binary (0/1).
Thanks!
The text was updated successfully, but these errors were encountered: