Inference Using Temporal Model In Python Jupyter Notebook Code