yujinjcho / movie_recommendations

movie recommendations leveraging critic reviews
MIT License
0 stars 0 forks source link

Optimize generate test input matrix #8

Closed achiu8 closed 7 years ago

achiu8 commented 7 years ago

When I tried to predict on the whole test set, seemed like generating the input matrix took the longest, since it was iterating movies (21000) x critics (7000) times. Would something like this work for that? Training the model is actually relatively quick.

Appears to take ~30 seconds all in now.