unable to use TfidfVectorizer in Google app engine

后端 未结 2 571
无人共我
无人共我 2021-01-23 03:48

I am writing a python program in Google App Engine that calculates tf-idf using TfidfVectorizer in sklearn.

I have added sklearn library and have the import as:

<
2条回答
  •  臣服心动
    2021-01-23 04:38

    if you are not using any of GAE-specific tools, try deploying your app on Heroku. It let's you deploy a whole virtual environment with all the installed libraries on it. Specifically, Scikit-learn works on Heroku just fine. Check this Github repo for example.

提交回复
热议问题