Fixed regression.py