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
It would be convenient if after each step of the pipeline you could call a custom function (callback) if needed.
For example, in simple TF-IDF + LogReg pipeline, after the step of fitting TF-IDF, I would like to look at the dimension of the resulting dictionary (output it to stdout).
Describe your proposed solution
Add additional parameter callbacks to Pipeline, which takes List of (name, transform) tuples, similar to the steps parameter (default: None).
The text was updated successfully, but these errors were encountered:
Describe the workflow you want to enable
It would be convenient if after each step of the pipeline you could call a custom function (callback) if needed.
For example, in simple TF-IDF + LogReg pipeline, after the step of fitting TF-IDF, I would like to look at the dimension of the resulting dictionary (output it to stdout).
Describe your proposed solution
Add additional parameter
callbacks
to Pipeline, which takes List of (name, transform) tuples, similar to thesteps
parameter (default: None).The text was updated successfully, but these errors were encountered: