Honglei Xie

Recent Posts

  • August 02, 2021

    Get Started with Dask

    Dask is simply awesome. If you are looking for Spark alternatives that are light-weight, simple, easy to set-up, native to Python, and do its job (i.e distributed computing) well without changing much of your existing Python codes (in numpy or pan...

  • September 11, 2020

    Constrained Contextual Bandits for Personalized Recommendation

    Contextual bandits (CB), unlike the full Reinforcement Learning problem in which there are environmental states, new states depend on previous actions, and rewards can be delayed over time, “contexts” under the CB context do not mean the environ...

  • August 09, 2020

    Democratizing Building ML Web App with Streamlit and Heroku

    R ecently I integrated a TensorFlow-enabled ML model into the Streamlit web app in lessthan 40 lines of codes. Then I deploy the app on Heroku,a low-code platform for deploying, managing and scaling modern apps. In this post, I will show briefly h...

  • July 28, 2020

    Deploy ML Models with Flask and Docker Easily

    In this tutorial, I will show you step-by-step how to build a web application with Flask from a pre-trained toy ML classification model built offline and then containerize the application using Docker. You can find the project page here.Big pictur...

  • June 13, 2020

    German Tank Problem Explained

    Recently I came across a podcast talking about an anecdote about statisticians estimating the German monthly tank production numbers during World War II which I found it super interesting. The number of tanks production has been a classified infor...