Frequent communication with business shareholders is key to getting the buy-in for deploying an AI solution, and should start from the idea and premises to decisions and findings. How results are communicated can make the difference between success and failure in a commercial setting. In this recipe, we'll be building a visualization solution for a machine learning (ML) model.
Getting ready
We'll be building our solution in streamlit (https://www.streamlit.io/) and we'll be using visualizations from altair, one of the many Python plotting libraries that streamlit integrates with (a list that also includes matplotlib and plotly). Let's install streamlit and altair:
pip install streamlit altair
We won't use the notebook in this recipe. Therefore, we've omitted the exclamation marks in this code block. We'll be running everything from the terminal.
Altair has a very pleasant declarative way to plot graphs, which we'll see...