Tuesday, August 25, 2015

Loading scikit model in Django

Hi guys, I have searched the answers for days with no avail, thus I would like to ask here.

I am running a svm scikit model in Django, currently, every request have to load the ~20mb scikit model, and it was really slow.

I wonder if I should load the model in settings.py, and store in in session? However, the scikit model can be updated by a certain user.

Any comment? I am rather new to django, thank in advance.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/47bfb6d1-6e43-441f-ac8e-8ab2145113b4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment