https://github.com/shubham0204/scikit_learn_android_demo
An Android app that runs a scikit-learn model converted to the ONNX format
https://github.com/shubham0204/scikit_learn_android_demo
android android-application deployment kotlin-android machine-learning scikit-learn scikitlearn-machine-learning
Last synced: 3 months ago
JSON representation
An Android app that runs a scikit-learn model converted to the ONNX format
- Host: GitHub
- URL: https://github.com/shubham0204/scikit_learn_android_demo
- Owner: shubham0204
- License: apache-2.0
- Created: 2022-08-20T04:39:48.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-25T02:14:55.000Z (over 1 year ago)
- Last Synced: 2025-05-28T16:58:22.253Z (4 months ago)
- Topics: android, android-application, deployment, kotlin-android, machine-learning, scikit-learn, scikitlearn-machine-learning
- Language: Kotlin
- Homepage: https://towardsdatascience.com/deploying-scikit-learn-models-in-android-apps-with-onnx-b3adabe16bab
- Size: 409 KB
- Stars: 16
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Using scikit-learn Models In Android Applications
This project demonstrates the use of a scikit-learn model in an Android app using ONNX as a bridge between both the frameworks.

## Getting Started
1. Clone this repository and open the resulting project in Android Studio,
```
>> git clone https://github.com/shubham0204/Scikit_Learn_Android_Demo
```2. Read the blog [Deploying Scikit-Learn Models In Android Apps With ONNX](https://towardsdatascience.com/deploying-scikit-learn-models-in-android-apps-with-onnx-b3adabe16bab) to follow the procedure for your model. The code included in this blog is available as an [Google Colab notebook](https://colab.research.google.com/github/shubham0204/Google_Colab_Notebooks/blob/main/Sklearn_to_ONNX_Conversion.ipynb).
3. Place your `.ort` model in the `app/src/main/res/raw` folder.