Detection of Anomalous Behavior in Robot Systems Based on Machine Learning