Single Linear Regression Python Example Codes For Loggable Interface