...

/

Build the DataFrame and Model Performance UI with Streamlit

Build the DataFrame and Model Performance UI with Streamlit

Learn how to run a logistic regression model in Streamlit UI.

Streamlit apps

To run a Streamlit app, type the following command: streamlit run app.py.

Since we don’t have any components yet, we should see a blank screen… At the top right corner in the interface of the output, the “Rerun” button in the drop-down menu tells Streamlit to reload each time we change our code.

import streamlit
Running a Streamlit app

Title and input DataFrame

We’ll use the following functions for this part of our web app:

  • title(str): This ...