Python Forum

Full Version: How to perform predictions on a data in csv file using Flask?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have built a machine learning classifier model, I was able to create a FLASK api for single request/response prediction of classification model.

However I want to perform the predictions on a data in a .csv file instead of a single request and response.

Here are the steps followed till now,

1. Saving the current trained machine learning model using
2. Using SQLite databases for data storage
3. Developing a web application using the popular Flask web framework for request and response.

I was able to do this successfully. However I am not able to build the same for larger records in a csv file.

The complete code is attached to the link below, refer to app.py file for suggesting modification.

Code link