Logistics Regression Using Python Idle