added basic machine learning for ratings predictions