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


Messages In This Thread
How to perform predictions on a data in csv file using Flask? - by manjusavanth - May-23-2018, 09:03 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How can users store data temporarily in flask app? darktitan 6 2,939 Mar-21-2022, 06:38 PM
Last Post: darktitan
  show csv file in flask template.html rr28rizal 8 34,729 Apr-12-2021, 09:24 AM
Last Post: adamabusamra
  flask How to output stderr and exceptions to log file umen 4 4,771 Jun-20-2020, 06:11 AM
Last Post: umen
  How to perform a successful login(signin) through Requests in Python Kalet 1 2,343 Apr-24-2020, 01:44 AM
Last Post: Larz60+
  how to save the data from MySQL to CSV in Flask farah97 4 2,931 Jan-03-2020, 03:02 AM
Last Post: farah97
  Read owl file using python flask Gayathri 1 2,445 Nov-20-2019, 12:56 PM
Last Post: ChislaineWijdeven
  Create .exe file for Python flask website. vintysaw 4 19,184 Nov-18-2019, 07:56 AM
Last Post: tonycstech
  Using flask to add data to sqlite3 table with PRIMARY KEY catafest 1 3,726 Sep-09-2019, 07:00 AM
Last Post: buran
  Flask data with dynamic updates from panadas parthi1705 0 2,102 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 1,817 Feb-20-2019, 05:55 AM
Last Post: ary

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020