Action learning from human demonstrations for personal robots