Deploy Machine Leaning Model in CF and call API from SAP
Object : Deploy ML Model in CF (Cloud Foundry ) and Access end point Flask API by SAP
Here I assume that you have a basic understanding of Machine Learning and you have your trial account available on SAP Cloud Platform .
This ML model used to Predict Salary of Employee based on Experience and Interview Score .
Language : Python , Flask , ABAP
Git Link : https://github.com/akpradhan1202/Deployment_Project
SAP BTP Folder Structure :
Before Push the Changes below two mandatory files in the Folder .
|– name: predictsal|
|command: python app.py|
app.py and model.pkl files are available in Git folder .
After copy file to BTP Folder . We just one command CF PUSH .
After deployment .
We can Test the API by Postman Tool
ABAP Code to call API :
I hope you will find this information useful and will try to deploy your own machine learning model on SAP Cloud Platform. Please give your feedback and suggestion in the comment section. Comment some realtime scenario to implement ML Model in SAP World and that will be my next blog .
First of all thanks for sharing. I'm trying to push this application to my trial account, but getting next error:
Any ideas? Thanks in advance.