Text this: Optical Network Monitoring and Optimization Methods based on Machine Learning