what code can i use to inclide the chi-square function in a pipeline.
I tried using the below code but it seem the arguments must be passed. But i want to avoid that at the moment since i will be fitting the arguments later to run together with the other functions in the pipeline.
from sklearn.pipeline import Pipeline
NB = Pipeline([('vect', CountVectorizer()),('chi',chi2()),
('tfidtt', TfidfTransformer()),
('clf', MultinomialNB()),])`