Error Mitigation to Improve Quantum Machine Learning