Bottom Page

Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 How to perform predictions on a data in csv file using Flask?
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 file for suggesting modification.

Code link

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  how to save the data from MySQL to CSV in Flask farah97 4 178 Jan-03-2020, 03:02 AM
Last Post: farah97
  Read owl file using python flask Gayathri 1 213 Nov-20-2019, 12:56 PM
Last Post: ChislaineWijdeven
  Create .exe file for Python flask website. vintysaw 4 494 Nov-18-2019, 07:56 AM
Last Post: tonycstech
  Using flask to add data to sqlite3 table with PRIMARY KEY catafest 1 1,779 Sep-09-2019, 07:00 AM
Last Post: buran
  Flask data with dynamic updates from panadas parthi1705 0 276 Jun-19-2019, 09:59 AM
Last Post: parthi1705
  Is it possible to perform a PUT request by passing a req body instead of an ID ary 0 381 Feb-20-2019, 05:55 AM
Last Post: ary
  Flask generating a file for download darktitan 0 698 Dec-30-2018, 02:02 PM
Last Post: darktitan
  flask requests display data from api on webpage with javacript pascale 0 624 Oct-25-2018, 08:30 PM
Last Post: pascale
  Paginate json data in flask or jinja2 soli1994 1 2,678 Jun-28-2018, 06:00 PM
Last Post: gontajones
  [Flask] Uploading CSV file to flask, only first line being uploaded. Help ! KirkmanJ 2 2,766 Jun-25-2018, 02:24 PM
Last Post: KirkmanJ

Forum Jump:

Users browsing this thread: 1 Guest(s)