Quantum-Inspired Classical Algorithm for Principal Component Regression