writing feature vectors to redis, making predictions and adding them to mysql, connecting to mysql, fixed error in loading ratings to mysql