Quantum effects on machine learning