Recommended system configuration data through the mysql database

User 5193 | 5/23/2016, 1:21:28 AM

To connect to mysql database through db.query To form with the data that can result from a Recommender Systems?


import mysql db = mysql.connect() db = query() r = db.useresult() maxrows = 100 r.fetchrow(maxrows) (('99193508', '25891260', '2016-01-18', '2016-01-19', 'n', 'mobile'), ('99193508', '25891260', '2016-01-18', '2016-01-19', 'n', 'mobile'))

from MySQLdb.constants import FIELD_TYPE

Comments

User 5159 | 5/24/2016, 3:13:44 AM

I suggest to build SFrame first, then use GLC recommendation with SFrame