So I am familiar with Standard Scaler and pipelines with SciKit Learn, but I wanted to know if it's possible to have a conditional within the pipeline such that when a value is put through, one function is used over the other...
Pseudocode
from sklearn.preprocessing import StandardScaler, Normalize
stillness_detection = make_pipeline(IF X > 5,StandardScaler(),
IF X < 5, Normalize())