I was using 3 functions form scipy: TFIDF vectorizer, Multioutput classifier and Linear SVC.
The code goes like this.
pipe_lr1 = Pipeline(steps=[('cv',TfidfVectorizer()), ('lr_multi',MultiOutputClassifier(LinearSVC()))])
How can I print the values at each step of the function in order to see
- What was the ouptput of TFIDF vectorizer?
- What was the output of Linear SVC?
- What data was coming out of MultioutputClassifier(X)?