Machine Learning Methods for Complex and Quantum Systems