Continuous Time Quantum Monte Carlo in Combination with Machine Learning on the Hubbard Model