Reputation: 802
I am creating an app for school and I could use some Machine Learning in it. Although, the libraries I know that I could use to process and predict my data are all for Python.
Is there a way that I could get data from Flutter app, process it in a Python backend and return the output to the Flutter app?
Or is there an alternative I could use on Flutter? I already plan to use Firebase in the app, is there any kind of machine learning tool for data stored on Firebase?
Thanks.
Upvotes: 1
Views: 3693
Reputation: 3469
Yes It's possible and quite easy to use scikit learn and other python packages such as numpy, scipy, pandas, etc using chaquopy plugin for flutter.
Upvotes: 1
Reputation: 11
Rather you can use python plus tensowflow in your jupyter notebook and train your model and then upload your custom model on the firebase ml kit and from their you can use it.
The ml kit in the firebase is very handy in applying machine learning.
Upvotes: 1
Reputation: 2252
You can use your python (scikit-learn) code neither in iOS nor in Android.
However, the Tensorflow is available for mobile.
Currently, you cannot use Tensorlfow directly in your Flutter application (with Dart), but you can use it in the native part of your mobile app and link it to your Flutter application using platform-channels
Hope it helps.
Upvotes: 1
Reputation: 41089
Flutter builds the apps. The apps can communicate with any backend of your choice - or with multiple backends if you need it. For example, it can connect to Firebase for user data, etc., and connect to a different backend for machine learning (e.g. Google Cloud AI).
Upvotes: 1