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
Hey, I'm facing an issue with implementing BayesianTargetEncoder and CycleTransformer in a pipeline that I've made. This might be because of my lack of experience but any help would still be appreciated.
and the issue that I am facing is that it says TypeError: 'CycleTransformer' object is not iterable
If I remove CycleTransformer and proceed without it, then I get this issue:
C:\py\lib\site-packages\xam\feature_extraction\encoding\bayesian_target.py in transform(self, X, y)
73 raise ValueError('X has to be a pandas.DataFrame')
74
---> 75 for cols in self.columns:
76
77 if isinstance(cols, list):
TypeError: 'NoneType' object is not iterable
I understand it says that X has to be a pandas dataframe but i'm not sure what the work around to this would be.
Thank you
The text was updated successfully, but these errors were encountered:
Hey, I'm facing an issue with implementing
BayesianTargetEncoder
andCycleTransformer
in a pipeline that I've made. This might be because of my lack of experience but any help would still be appreciated.The pipeline I currently have is
and the issue that I am facing is that it says
TypeError: 'CycleTransformer' object is not iterable
If I remove
CycleTransformer
and proceed without it, then I get this issue:I understand it says that X has to be a pandas dataframe but i'm not sure what the work around to this would be.
Thank you
The text was updated successfully, but these errors were encountered: