简体   繁体   中英

How do I integrate a Flutter application with ipynb/colab notebook?

We currently have a working application that is ready to post and get data from an API which displays results of predicted disease (purpose of the ML model). Right now we don't have an exact idea on how to make the.ipynb communicate with the application provided we have large data for training the model.

We have 2.ipynb files Model.py and Predict.py . One performing the required pre-processing, split (for train, test and validation), train and save the model. Predict uses the saved model and classifies the user input.

The main concern is how do we send the data from User's end-point(Flutter Application) to Predict.py and get the result data back to the user on the application.

We have considered the idea of hosting the model with prediction somewhere, but do not know on how to proceed further.

This is my first encounter with handling Deep Learning with Flutter Application. Any kind of information on proceeding forward will be very helpful.

First, .ipynb files are Jupyter Notebooks.

Second, do you have your API ready? Is there a server dedicated to it or is there only the flutter app, that is ony the front of your application.

If you do not have an API, you have to create one (using whatever framework you want). To facilitate things, create it in Python, and you can directly import your model as a Python module and use it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM