How to connect a Machine Learning classifier to a Web App?
Flask is a relatively simple web framework. It will suit your need to get the user-submitted text into a python function, without too much boilerplate code or complexity. There are alternatives, most notably Tornado.
I do wonder why you would stack two REST interfaces on top of eachother. Do you need the node.js application for specific reasons? If not, you can simplify your architecture.
I'm trying to build a sentiment classifier web app, but I don't understand who to connect the machine learning component with the web app. I've built the client-side web app that's running on a NodeJS server, and I've trained a sentiment classifier that saved as a Python script.
My goal is to have users submit text on the web app, send it to the Python script, classify, and send the result back via JSON.
How should I setup the Machine Learning-Web App pipeline?
One suggestion was to load the Python script in Flask, and use Flask as a REST API. It seems as though using Flask would be overkill since I only need to do one task.