
Build a machine learning app by training a logistic regression model, evaluating accuracy, precision, recall, AUC, and ROC, and deploying a FastAPI backend with a Streamlit UI to SAP BTP.
Learn the basics of machine learning from training data and features to model evaluation and deployment in SAP BTP, with metrics like accuracy and ROC AUC.
Explore how the confusion matrix measures model performance in training and validation data, detailing true positives, true negatives, false positives, false negatives, and computing accuracy, precision, recall, and F1 score.
Explore how the ROC curve visualizes true positive rate and false positive rate across thresholds, using the confusion matrix to derive TPR, FPR, and compare models by AUC.
Explore logistic regression, learn how random initial coefficients b0, b1, b2 are refined via gradient descent and sigmoid to predict 0/1 outcomes, minimize log loss, and evaluate with roc auc.
Begin with core libraries for data handling and ML deployment—pandas, numpy, fast API, streamlit, requests, Joblib, matplotlib, seaborn—and ensure you have a SAP BTP trial account and Python basics.
Train a logistic regression model to predict heart disease in an ml app built with SAP Business Application Studio, exposing a fast API, and deploy to SAP BTP Cloud Foundry.
Create a ml project layout in the projects directory with backend, app, models, and data folders, then set up a Python venv and install pandas, scikit-learn, joblib, seaborn, and matplotlib.
Create a requirements.txt to capture dependencies, assemble a 500-row training dataset, and train a heart disease prediction model using features like age and blood metrics; validate with new data.
Create a Python file in the backend, import libraries, set feature columns, split data, train a logistic regression model, evaluate metrics, and save the model with joblib.
Define the models_dir path with os.path.join, fix quotes and commas, correct feature columns usage, and ensure pd.Series capitalization in the python machine learning workflow.
Explain training and evaluating a heart disease model from a csv dataset using an 80/20 split, logistic regression, and metrics like accuracy, precision, recall, F1, and AUC.
Activate the virtual environment, run the training script, and build a model saved with joblib while outlining feature columns and evaluation metrics such as roc auc, precision, recall, and f1.
Create an api.py for a heart disease prediction API using fastapi, load the model with joblib and feature columns from csv, and expose a get root and post predict endpoint.
Explain how to build a FastAPI app that loads a heart disease model with joblib, validates input with pydantic, uses pandas to prepare data, and exposes routes for prediction.
Activate the virtual environment, install dependencies, and run a FastAPI application with Swagger UI to test an ML model for heart disease prediction.
Create a streamlit_app.py file to build a user interface, load the model and features, enable single patient predictions with a two-column interface for name, age, weight, sugar, and display risk.
Test and validate a local streamlit UI by activating the virtual environment, running the backend API, installing streamlit, and verifying the heart disease prediction app's UI and parameters.
Modify a streamlit app to enable batch processing of patient data by uploading a CSV and predicting per-row heart disease risk. Implement a multi-patient UI with probabilities and results CSV.
Test the changes by running the backend and front-end, upload patient data, review model predictions with risk levels and probabilities, including batch predictions, then prepare for deployment on BTP cockpit.
Deploy your backend and app to SAP BTP Cloud Foundry by logging into the subaccount and space, configuring requirements.txt and manifest.yml, and running run.sh via cf push.
Identify trial account limitations that block deployment, as memory and quota constraints in the BTP cockpit prevent routes and space allocation, prompting consideration of deleting or recreating the trial account.
Deploy a backend module to a Cloud Foundry subaccount space on SAP BTP, address memory quota issues with a different trial account, and test heart disease API using Swagger UI.
Modify the streamlit_app.py to call the deployed API URL for predictions, replacing local joblib and CSV models, and prepare the payload for single and multi-patient predictions via the /predict endpoint.
Deploy a streamlit ui module to cf by creating requirements.txt, manifest_ui.yaml, and run_streamlit.sh, connect to the backend, and troubleshoot buildpack and permission errors for deployment on btp.
Diagnose deployment errors in a machine learning app by creating a procfile, updating requirements.txt with joblib, and redeploying on SAP BTP BAS AI Dev.
Debug and deploy ml apps by moving to a dedicated api, resolve file not found errors, enable batch csv predictions via /predict, and leverage swagger docs.
Build, train, and deploy an end-to-end ml application with production ready model evaluation (accuracy, confusion matrix, roc, auc), a fast api backend, and a streamlit ui on sap cloud foundry.
Are you ready to build real Machine Learning applications on SAP BTP like a modern AI developer?
This hands-on course teaches you how to build, train, deploy, and run a complete ML application on SAP’s Business Technology Platform — using an industry-standard tech stack: Python, Scikit-Learn, FastAPI, Streamlit & Cloud Foundry.
You won’t just learn theory — you will build a real-world Heart Disease Prediction App from scratch, including:
Data preparation & feature engineering
Model training using Logistic Regression
Evaluating the model (Accuracy, Precision, Recall, F1, AUC)
Saving the trained model
Building an API with FastAPI
Creating a UI with Streamlit
Deploying the backend & frontend to Cloud Foundry
Running everything directly inside SAP Business Application Studio (BAS)
This is one of the first and only end-to-end ML project courses built specifically for the SAP BTP ecosystem.
If you're aiming to combine AI skills + SAP skills, this course puts you ahead of 99% of developers.
Whether you're a Python enthusiast, Machine Learning beginner, SAP developer, or a professional looking to enter the AI space — this course gives you the exact skills you need.
Tools & Technologies You Will Use
Python 3
Pandas, NumPy, Scikit-Learn
FastAPI
Streamlit
Joblib
SAP Business Application Studio
SAP BTP Cloud Foundry
Uvicorn, Requests, Matplotlib, Seaborn
By the end, you will have a cloud-deployed ML application that you built entirely by yourself.
Happy Learning !