I made a recommendation system prototype using Surprise and Pandas Dataframe. I also made a command-line tool that takes in some parameters (like user id, type of recommendation, etc...), the main problem is that importing Pandas and Surprise takes way too much time and I need it to run the script in less than a second. The code is already optimized and I also added some caching features to it. Is there a way to optimize import time or speed it up a bit?
Asked
Active
Viewed 243 times
0
-
Does this answer your question? [improving speed of Python module import](https://stackoverflow.com/questions/16373510/improving-speed-of-python-module-import) – Mahmoud Farouq Nov 21 '19 at 11:36
-
I want to avoid a client-server approach :/ – user12409823 Nov 21 '19 at 11:42