Optimize Model Using Jupyter Notebook