Practice Refactoring and Optimizing Python ML Code

Practice Refactoring and Optimizing Python ML Code