Impact of Legal Requirements on Explainability in Machine Learning