Filtration learning in exact multi-parameter persistent homology and classification of time-series data