Qubit-Based Framework for Quantum Machine Learning: Bridging Classical Data and Quantum Algorithms