A Regression Approach to Learning Augmented Online Algorithms