Model Fit Function Python Example Codes For Loggable Interface