From Classical to Quantum Machine Learning: A Comprehensive Review