inria-larsen/toolbox-probabilistic_movement_primitives
This toolbox allow (1) to learn the distribution of any kind of trajectories (i.e. data input that evolved in time) (2) to infer the end of an initiate trajectory, thanks to the learned distribution.
Matlab