Probabilistic Learning by Demonstration from Complete and Incomplete Data