Implement Graph Using Python For Regression