Reliable Machine Learning for Communication Systems: Tools and Applications