Classification, Catboost, Fastapi, Docker, Streamlit.
model.predict_proba(user_data)[:, 1][0] return {"Churn Probability": float(prediction)} except Exception as e: return {"error": str(e)} if __name__ == "__main__": # Ask user for input customerID = "6464-UIAEA" print("Please enter the following information:") gender = input("Gender (Male/Female):