Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sap-samples/btp-kyma-runtime-startup-success-prediction
Deploy a machine learning model with an R application in Docker and use an API to generate predictions on the fly. Use the Docker image to deploy and manage the application on the SAP BTP, Kyma runtime.
https://github.com/sap-samples/btp-kyma-runtime-startup-success-prediction
docker kyma sample sample-code sap-btp-kyma-runtime
Last synced: about 2 months ago
JSON representation
Deploy a machine learning model with an R application in Docker and use an API to generate predictions on the fly. Use the Docker image to deploy and manage the application on the SAP BTP, Kyma runtime.
- Host: GitHub
- URL: https://github.com/sap-samples/btp-kyma-runtime-startup-success-prediction
- Owner: SAP-samples
- License: apache-2.0
- Created: 2022-04-27T13:01:11.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-06-29T16:57:21.000Z (over 2 years ago)
- Last Synced: 2023-08-04T22:50:26.711Z (over 1 year ago)
- Topics: docker, kyma, sample, sample-code, sap-btp-kyma-runtime
- Language: R
- Homepage:
- Size: 349 KB
- Stars: 1
- Watchers: 6
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![REUSE status](https://api.reuse.software/badge/github.com/SAP-samples/btp-kyma-runtime-startup-success-prediction)](https://api.reuse.software/info/github.com/SAP-samples/btp-kyma-runtime-startup-success-prediction)
# Hands-On Tutorial: Manage and Run Machine Learning Models in R through Docker and in SAP BTP, Kyma 2.0 Runtime
## Description
This Github repository provides the material used in a HandsOn blog, which covers the following main steps:1. Create an API endpoint to be able to communicate with the application and create predictions with a machine learning model
2. Containerize R script in Docker image with all the requirements and dependencies
3. Deploy Machine Learning Model in R with Kyma 2.0 on SAP Business Technology Plattform## Requirements
There are some sample-specific requirements that you can find in detail in the Hands-On blog.
In summary the following software/editors are required:- R Editor like [RStudio](https://www.rstudio.com/)
- [Docker for Windows](https://docs.docker.com/desktop/windows/install/)
- [Docker Hub Account](https://hub.docker.com/)
- Command Line Tool like [PowerShell](https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.1)To run the sample in the SAP BTP Trial, Kyma runtime an active SAP BTP Trial account is required with an enabled Kyma environment.
## Download and Installation
The sample files can be downloaded and used within the respective user / developer environment, e.g. R files may be opened and used within a R Editor. The sample files don't require an installation step for themselves, they are simply downloaded and then opened in the respective editor. Through the Dockerfile and the R script the following R libraries will be installed:1. mlr
2. beakr
3. randomForest
Further, some by the library 'mlr' required ubuntu libraries will be installed.
## Known Issues
Currently, there are no known issues for the sample project.## How to obtain support
[Create an issue](https://github.com/SAP-samples//issues) in this repository if you find a bug or have questions about the content.
For additional support, [ask a question in SAP Community](https://answers.sap.com/questions/ask.html).## Contributing
If you wish to contribute code, offer fixes or improvements, please send a pull request. Due to legal reasons, contributors will be asked to accept a DCO when they create the first pull request to this project. This happens in an automated fashion during the submission process. SAP uses [the standard DCO text of the Linux Foundation](https://developercertificate.org/).## License
Copyright (c) 2022 SAP SE or an SAP affiliate company. All rights reserved. This project is licensed under the Apache Software License, version 2.0 except as noted otherwise in the [LICENSE](LICENSE) file.