Segmentation of functional-biased series by a Bayesian approach