1
2 Comments

Integrating python machine learning with node js

Hi, guys so I have been developing an interest in machine learning using python. So I wanted to ask, how would one make a web app that can have node js as the backend, but can talk to some python script for machine learning computation. I know tensor.js exist. However, I am just curious on how it would work.

Thanks

on April 16, 2020
  1. 1

    Run the scripts as a service with an API and call that API from nodejs. If the scripts take significant time you can look at background tasks, push/pull, publish/subscribe, message queues, etc.

  2. 1

    there's a ton of resources out there already... many that can answer this question.

    is there more to this question? sorry if i'm stating the obvious. it's early for me.