Classification, Catboost, Fastapi, Docker, Streamlit.
model.predict_proba(new_customer_data)[:, 1] # Format churn probability formatted_churn_probability = "{:.2%}".format(churn_probability.item()) big_text = f"<h1>Churn Probability: {formatted_churn_probability}</h1>" st.markdown(big_text, unsafe_allow_html=True) st.write(new_customer_data.to_dict())