An Explainable Pipeline for Machine Learning with Functional Data