graphlab_ALS



In [1]:
import graphlab as gl
ratings = gl.SFrame.read_csv("../../data/netflix/netflix_mm.train", delimiter="\t", header=False,
                             column_type_hints=[int,int,int]);
ratings.rename({'X1':'movieid', 'X2':'userid', 'X3':'rating'});


[INFO] Start server at: ipc:///tmp/graphlab_server-25324 - Server binary: /usr/local/lib/python2.7/dist-packages/graphlab/unity_server - Server log: /tmp/graphlab_server_1431068549.log
[INFO] GraphLab Server Version: 1.3.0
PROGRESS: Read 4082259 lines. Lines per second: 4.76371e+06
PROGRESS: Read 56182627 lines. Lines per second: 9.38805e+06
PROGRESS: Finished parsing file /code/BIDMach/data/netflix/netflix_mm.train
PROGRESS: Parsing completed. Parsed 99072124 lines in 10.0376 secs.

In [2]:
ratings.head()


Out[2]:
movieid userid rating
1 1 3
8 1 4
17 1 2
30 1 3
44 1 3
58 1 5
76 1 3
80 1 3
81 1 3
83 1 3
[10 rows x 3 columns]

In [3]:
ratings['userid'].max()


Out[3]:
480189

In [4]:
training, testing = ratings.random_split(0.9)

In [5]:
#training, testing = gl.recommender.random_split_by_user(ratings, 'userid', 'movieid', max_num_users=1000, item_test_proportion=0.3)
#print training.num_rows(), testing.num_rows()

In [6]:
m = gl.recommender.factorization_recommender.create(training, 'userid', 'movieid', 'rating',
                                                    num_factors=512, max_iterations=4, solver='sgd')


PROGRESS: Recsys training: model = factorization_recommender
PROGRESS: Preparing data set.
PROGRESS:     Data has 89163900 observations with 479957 users and 17770 items.
PROGRESS:     Data prepared in: 34.5961s
PROGRESS: Training factorization_recommender for recommendations.
PROGRESS: +--------------------------------+--------------------------------------------------+----------+
PROGRESS: | Parameter                      | Description                                      | Value    |
PROGRESS: +--------------------------------+--------------------------------------------------+----------+
PROGRESS: | num_factors                    | Factor Dimension                                 | 512      |
PROGRESS: | regularization                 | L2 Regularization on Factors                     | 1e-08    |
PROGRESS: | solver                         | Solver used for training                         | sgd      |
PROGRESS: | linear_regularization          | L2 Regularization on Linear Coefficients         | 1e-10    |
PROGRESS: | max_iterations                 | Maximum Number of Iterations                     | 4        |
PROGRESS: +--------------------------------+--------------------------------------------------+----------+
PROGRESS:   Optimizing model using SGD; tuning step size.
PROGRESS:   Using 11145487 / 89163900 points for tuning the step size.
PROGRESS: +---------+-------------------+------------------------------------------+
PROGRESS: | Attempt | Initial Step Size | Estimated Objective Value                |
PROGRESS: +---------+-------------------+------------------------------------------+
PROGRESS: | 0       | 25                | Not Viable                               |
PROGRESS: | 1       | 6.25              | Not Viable                               |
PROGRESS: | 2       | 1.5625            | Not Viable                               |
PROGRESS: | 3       | 0.390625          | Not Viable                               |
PROGRESS: | 4       | 0.0976562         | Not Viable                               |
PROGRESS: | 5       | 0.0244141         | 0.708316                                 |
PROGRESS: | 6       | 0.012207          | 0.832388                                 |
PROGRESS: | 7       | 0.00610352        | 0.8552                                   |
PROGRESS: | 8       | 0.00305176        | 0.884658                                 |
PROGRESS: +---------+-------------------+------------------------------------------+
PROGRESS: | Final   | 0.0244141         | 0.708316                                 |
PROGRESS: +---------+-------------------+------------------------------------------+
PROGRESS: Starting Optimization.
PROGRESS: +---------+--------------+-------------------+-----------------------+-------------+
PROGRESS: | Iter.   | Elapsed Time | Approx. Objective | Approx. Training RMSE | Step Size   |
PROGRESS: +---------+--------------+-------------------+-----------------------+-------------+
PROGRESS: | Initial | 100us        | 1.17631           | 1.08458               |             |
PROGRESS: +---------+--------------+-------------------+-----------------------+-------------+
PROGRESS: | 1       | 33.88s       | 0.799822          | 0.891014              | 0.0244141   |
PROGRESS: | 2       | 1m 8s        | 0.647667          | 0.7989                | 0.0145167   |
PROGRESS: | 3       | 1m 42s       | 0.455859          | 0.665612              | 0.0107102   |
PROGRESS: | 4       | 2m 16s       | 0.30782           | 0.54154               | 0.00863167  |
PROGRESS: +---------+--------------+-------------------+-----------------------+-------------+
PROGRESS: Optimization Complete: Maximum number of passes through the data reached.
PROGRESS: Computing final objective value and training RMSE.
PROGRESS:        Final objective value: 0.196364
PROGRESS:        Final training RMSE: 0.426391

In [18]:
opts=m.get_current_options()
opts["regularization"]=1e-4

In [20]:
opts=m.get_current_options()
opts["regularization"]


Out[20]:
1e-08

In [19]:
# Look at model statistics
m


Out[19]:
Class                           : FactorizationRecommender

Schema
------
User ID                         : userid
Item ID                         : movieid
Target                          : rating
Additional observation features : 0
Number of user side features    : 0
Number of item side features    : 0

Statistics
----------
Number of observations          : 89163900
Number of users                 : 479957
Number of items                 : 17770

Training summary
----------------
Training time                   : 319.24

Settings
--------
additional_iterations_if_unhealthy: 5
sgd_step_adjustment_interval    : 4
num_factors                     : 512
init_random_sigma               : 0.01
max_iterations                  : 4
regularization_type             : normal
side_data_factorization         : 1
regularization                  : 0.0
num_tempering_iterations        : 4
sgd_step_size                   : 0.0
sgd_trial_sample_proportion     : 0.125
sgd_sampling_block_size         : 131072
binary_target                   : 0
nmf                             : 0
track_exact_loss                : 0
sgd_trial_sample_minimum_size   : 10000
sgd_convergence_interval        : 4
solver                          : sgd
tempering_regularization_start_value: 0.0
sgd_convergence_threshold       : 0.0
sgd_max_trial_iterations        : 5
step_size_decrease_rate         : 0.75
linear_regularization           : 0.0

In [8]:
# Evaluate rmse (average prediction error) on the test set
m.evaluate(testing)


PROGRESS: recommendations finished on 1000/453024 queries. users per second: 1576.81
PROGRESS: recommendations finished on 2000/453024 queries. users per second: 1432.31
PROGRESS: recommendations finished on 3000/453024 queries. users per second: 1353.21
PROGRESS: recommendations finished on 4000/453024 queries. users per second: 1265.44
PROGRESS: recommendations finished on 5000/453024 queries. users per second: 1205.98
PROGRESS: recommendations finished on 6000/453024 queries. users per second: 1173.38
PROGRESS: recommendations finished on 7000/453024 queries. users per second: 1145.66
PROGRESS: recommendations finished on 8000/453024 queries. users per second: 1135.97
PROGRESS: recommendations finished on 9000/453024 queries. users per second: 1124.87
PROGRESS: recommendations finished on 10000/453024 queries. users per second: 1121.21
PROGRESS: recommendations finished on 11000/453024 queries. users per second: 1130.55
PROGRESS: recommendations finished on 12000/453024 queries. users per second: 1132.52
PROGRESS: recommendations finished on 13000/453024 queries. users per second: 1140.95
PROGRESS: recommendations finished on 14000/453024 queries. users per second: 1150.38
PROGRESS: recommendations finished on 15000/453024 queries. users per second: 1164.08
PROGRESS: recommendations finished on 16000/453024 queries. users per second: 1178.91
PROGRESS: recommendations finished on 17000/453024 queries. users per second: 1194.53
PROGRESS: recommendations finished on 18000/453024 queries. users per second: 1205.84
PROGRESS: recommendations finished on 19000/453024 queries. users per second: 1225.24
PROGRESS: recommendations finished on 20000/453024 queries. users per second: 1243.28
PROGRESS: recommendations finished on 21000/453024 queries. users per second: 1262.1
PROGRESS: recommendations finished on 22000/453024 queries. users per second: 1279.94
PROGRESS: recommendations finished on 23000/453024 queries. users per second: 1298.61
PROGRESS: recommendations finished on 24000/453024 queries. users per second: 1316.77
PROGRESS: recommendations finished on 25000/453024 queries. users per second: 1334.58
PROGRESS: recommendations finished on 26000/453024 queries. users per second: 1352.03
PROGRESS: recommendations finished on 27000/453024 queries. users per second: 1369.23
PROGRESS: recommendations finished on 28000/453024 queries. users per second: 1385.4
PROGRESS: recommendations finished on 29000/453024 queries. users per second: 1401.57
PROGRESS: recommendations finished on 30000/453024 queries. users per second: 1417.21
PROGRESS: recommendations finished on 31000/453024 queries. users per second: 1432.08
PROGRESS: recommendations finished on 32000/453024 queries. users per second: 1446.76
PROGRESS: recommendations finished on 33000/453024 queries. users per second: 1460.87
PROGRESS: recommendations finished on 34000/453024 queries. users per second: 1473.95
PROGRESS: recommendations finished on 35000/453024 queries. users per second: 1485.97
PROGRESS: recommendations finished on 36000/453024 queries. users per second: 1497.34
PROGRESS: recommendations finished on 37000/453024 queries. users per second: 1509.46
PROGRESS: recommendations finished on 38000/453024 queries. users per second: 1521.04
PROGRESS: recommendations finished on 39000/453024 queries. users per second: 1532.64
PROGRESS: recommendations finished on 40000/453024 queries. users per second: 1543.76
PROGRESS: recommendations finished on 41000/453024 queries. users per second: 1554.27
PROGRESS: recommendations finished on 42000/453024 queries. users per second: 1564.43
PROGRESS: recommendations finished on 43000/453024 queries. users per second: 1574.23
PROGRESS: recommendations finished on 44000/453024 queries. users per second: 1584.15
PROGRESS: recommendations finished on 45000/453024 queries. users per second: 1594.05
PROGRESS: recommendations finished on 46000/453024 queries. users per second: 1602.79
PROGRESS: recommendations finished on 47000/453024 queries. users per second: 1611.95
PROGRESS: recommendations finished on 48000/453024 queries. users per second: 1620.28
PROGRESS: recommendations finished on 49000/453024 queries. users per second: 1628.36
PROGRESS: recommendations finished on 50000/453024 queries. users per second: 1636.41
PROGRESS: recommendations finished on 51000/453024 queries. users per second: 1644.48
PROGRESS: recommendations finished on 52000/453024 queries. users per second: 1651.99
PROGRESS: recommendations finished on 53000/453024 queries. users per second: 1659.28
PROGRESS: recommendations finished on 54000/453024 queries. users per second: 1666.6
PROGRESS: recommendations finished on 55000/453024 queries. users per second: 1673.27
PROGRESS: recommendations finished on 56000/453024 queries. users per second: 1680.26
PROGRESS: recommendations finished on 57000/453024 queries. users per second: 1686.74
PROGRESS: recommendations finished on 58000/453024 queries. users per second: 1693.32
PROGRESS: recommendations finished on 59000/453024 queries. users per second: 1699.7
PROGRESS: recommendations finished on 60000/453024 queries. users per second: 1705.89
PROGRESS: recommendations finished on 61000/453024 queries. users per second: 1711.97
PROGRESS: recommendations finished on 62000/453024 queries. users per second: 1717.51
PROGRESS: recommendations finished on 63000/453024 queries. users per second: 1722.21
PROGRESS: recommendations finished on 64000/453024 queries. users per second: 1727.53
PROGRESS: recommendations finished on 65000/453024 queries. users per second: 1733.05
PROGRESS: recommendations finished on 66000/453024 queries. users per second: 1736.81
PROGRESS: recommendations finished on 67000/453024 queries. users per second: 1741.83
PROGRESS: recommendations finished on 68000/453024 queries. users per second: 1745.36
PROGRESS: recommendations finished on 69000/453024 queries. users per second: 1749.51
PROGRESS: recommendations finished on 70000/453024 queries. users per second: 1753.76
PROGRESS: recommendations finished on 71000/453024 queries. users per second: 1758.03
PROGRESS: recommendations finished on 72000/453024 queries. users per second: 1762.29
PROGRESS: recommendations finished on 73000/453024 queries. users per second: 1766.93
PROGRESS: recommendations finished on 74000/453024 queries. users per second: 1771.55
PROGRESS: recommendations finished on 75000/453024 queries. users per second: 1775.6
PROGRESS: recommendations finished on 76000/453024 queries. users per second: 1779.27
PROGRESS: recommendations finished on 77000/453024 queries. users per second: 1783.45
PROGRESS: recommendations finished on 78000/453024 queries. users per second: 1787.38
PROGRESS: recommendations finished on 79000/453024 queries. users per second: 1791.39
PROGRESS: recommendations finished on 80000/453024 queries. users per second: 1795.04
PROGRESS: recommendations finished on 81000/453024 queries. users per second: 1798.97
PROGRESS: recommendations finished on 82000/453024 queries. users per second: 1802.51
PROGRESS: recommendations finished on 83000/453024 queries. users per second: 1805.94
PROGRESS: recommendations finished on 84000/453024 queries. users per second: 1809.59
PROGRESS: recommendations finished on 85000/453024 queries. users per second: 1812.49
PROGRESS: recommendations finished on 86000/453024 queries. users per second: 1816.16
PROGRESS: recommendations finished on 87000/453024 queries. users per second: 1819.27
PROGRESS: recommendations finished on 88000/453024 queries. users per second: 1822.43
PROGRESS: recommendations finished on 89000/453024 queries. users per second: 1825.44
PROGRESS: recommendations finished on 90000/453024 queries. users per second: 1828.42
PROGRESS: recommendations finished on 91000/453024 queries. users per second: 1831.27
PROGRESS: recommendations finished on 92000/453024 queries. users per second: 1834.26
PROGRESS: recommendations finished on 93000/453024 queries. users per second: 1836.54
PROGRESS: recommendations finished on 94000/453024 queries. users per second: 1839.68
PROGRESS: recommendations finished on 95000/453024 queries. users per second: 1842.55
PROGRESS: recommendations finished on 96000/453024 queries. users per second: 1845.28
PROGRESS: recommendations finished on 97000/453024 queries. users per second: 1847.93
PROGRESS: recommendations finished on 98000/453024 queries. users per second: 1850.24
PROGRESS: recommendations finished on 99000/453024 queries. users per second: 1853.06
PROGRESS: recommendations finished on 100000/453024 queries. users per second: 1855.44
PROGRESS: recommendations finished on 101000/453024 queries. users per second: 1857.95
PROGRESS: recommendations finished on 102000/453024 queries. users per second: 1860.37
PROGRESS: recommendations finished on 103000/453024 queries. users per second: 1862.21
PROGRESS: recommendations finished on 104000/453024 queries. users per second: 1864.46
PROGRESS: recommendations finished on 105000/453024 queries. users per second: 1866.56
PROGRESS: recommendations finished on 106000/453024 queries. users per second: 1868.83
PROGRESS: recommendations finished on 107000/453024 queries. users per second: 1870.86
PROGRESS: recommendations finished on 108000/453024 queries. users per second: 1872.92
PROGRESS: recommendations finished on 109000/453024 queries. users per second: 1874.98
PROGRESS: recommendations finished on 110000/453024 queries. users per second: 1877
PROGRESS: recommendations finished on 111000/453024 queries. users per second: 1878.69
PROGRESS: recommendations finished on 112000/453024 queries. users per second: 1880.53
PROGRESS: recommendations finished on 113000/453024 queries. users per second: 1882.64
PROGRESS: recommendations finished on 114000/453024 queries. users per second: 1884.69
PROGRESS: recommendations finished on 115000/453024 queries. users per second: 1886.62
PROGRESS: recommendations finished on 116000/453024 queries. users per second: 1887.9
PROGRESS: recommendations finished on 117000/453024 queries. users per second: 1889.4
PROGRESS: recommendations finished on 118000/453024 queries. users per second: 1891.2
PROGRESS: recommendations finished on 119000/453024 queries. users per second: 1892.92
PROGRESS: recommendations finished on 120000/453024 queries. users per second: 1893.99
PROGRESS: recommendations finished on 121000/453024 queries. users per second: 1894.86
PROGRESS: recommendations finished on 122000/453024 queries. users per second: 1896.67
PROGRESS: recommendations finished on 123000/453024 queries. users per second: 1898.32
PROGRESS: recommendations finished on 124000/453024 queries. users per second: 1900.07
PROGRESS: recommendations finished on 125000/453024 queries. users per second: 1901.32
PROGRESS: recommendations finished on 126000/453024 queries. users per second: 1903.09
PROGRESS: recommendations finished on 127000/453024 queries. users per second: 1904.73
PROGRESS: recommendations finished on 128000/453024 queries. users per second: 1906.63
PROGRESS: recommendations finished on 129000/453024 queries. users per second: 1907.52
PROGRESS: recommendations finished on 130000/453024 queries. users per second: 1909.05
PROGRESS: recommendations finished on 131000/453024 queries. users per second: 1910.44
PROGRESS: recommendations finished on 132000/453024 queries. users per second: 1911.76
PROGRESS: recommendations finished on 133000/453024 queries. users per second: 1912.98
PROGRESS: recommendations finished on 134000/453024 queries. users per second: 1914.34
PROGRESS: recommendations finished on 135000/453024 queries. users per second: 1915.92
PROGRESS: recommendations finished on 136000/453024 queries. users per second: 1917.25
PROGRESS: recommendations finished on 137000/453024 queries. users per second: 1918.4
PROGRESS: recommendations finished on 138000/453024 queries. users per second: 1919.47
PROGRESS: recommendations finished on 139000/453024 queries. users per second: 1920.47
PROGRESS: recommendations finished on 140000/453024 queries. users per second: 1921.95
PROGRESS: recommendations finished on 141000/453024 queries. users per second: 1923.04
PROGRESS: recommendations finished on 142000/453024 queries. users per second: 1924.04
PROGRESS: recommendations finished on 143000/453024 queries. users per second: 1925.13
PROGRESS: recommendations finished on 144000/453024 queries. users per second: 1926.65
PROGRESS: recommendations finished on 145000/453024 queries. users per second: 1928
PROGRESS: recommendations finished on 146000/453024 queries. users per second: 1929.28
PROGRESS: recommendations finished on 147000/453024 queries. users per second: 1930.68
PROGRESS: recommendations finished on 148000/453024 queries. users per second: 1931.72
PROGRESS: recommendations finished on 149000/453024 queries. users per second: 1933.05
PROGRESS: recommendations finished on 150000/453024 queries. users per second: 1934.4
PROGRESS: recommendations finished on 151000/453024 queries. users per second: 1935.78
PROGRESS: recommendations finished on 152000/453024 queries. users per second: 1936.94
PROGRESS: recommendations finished on 153000/453024 queries. users per second: 1938.08
PROGRESS: recommendations finished on 154000/453024 queries. users per second: 1939.18
PROGRESS: recommendations finished on 155000/453024 queries. users per second: 1940.42
PROGRESS: recommendations finished on 156000/453024 queries. users per second: 1940.99
PROGRESS: recommendations finished on 157000/453024 queries. users per second: 1942.03
PROGRESS: recommendations finished on 158000/453024 queries. users per second: 1942.9
PROGRESS: recommendations finished on 159000/453024 queries. users per second: 1944.14
PROGRESS: recommendations finished on 160000/453024 queries. users per second: 1944.94
PROGRESS: recommendations finished on 161000/453024 queries. users per second: 1945.96
PROGRESS: recommendations finished on 162000/453024 queries. users per second: 1947.15
PROGRESS: recommendations finished on 163000/453024 queries. users per second: 1948.1
PROGRESS: recommendations finished on 164000/453024 queries. users per second: 1949.19
PROGRESS: recommendations finished on 165000/453024 queries. users per second: 1950.35
PROGRESS: recommendations finished on 166000/453024 queries. users per second: 1951.18
PROGRESS: recommendations finished on 167000/453024 queries. users per second: 1951.98
PROGRESS: recommendations finished on 168000/453024 queries. users per second: 1952.87
PROGRESS: recommendations finished on 169000/453024 queries. users per second: 1953.92
PROGRESS: recommendations finished on 170000/453024 queries. users per second: 1954.72
PROGRESS: recommendations finished on 171000/453024 queries. users per second: 1955.79
PROGRESS: recommendations finished on 172000/453024 queries. users per second: 1956.74
PROGRESS: recommendations finished on 173000/453024 queries. users per second: 1957.67
PROGRESS: recommendations finished on 174000/453024 queries. users per second: 1958.79
PROGRESS: recommendations finished on 175000/453024 queries. users per second: 1959.61
PROGRESS: recommendations finished on 176000/453024 queries. users per second: 1960.64
PROGRESS: recommendations finished on 177000/453024 queries. users per second: 1961.2
PROGRESS: recommendations finished on 178000/453024 queries. users per second: 1961.44
PROGRESS: recommendations finished on 179000/453024 queries. users per second: 1962.47
PROGRESS: recommendations finished on 180000/453024 queries. users per second: 1963.37
PROGRESS: recommendations finished on 181000/453024 queries. users per second: 1964.28
PROGRESS: recommendations finished on 182000/453024 queries. users per second: 1965.15
PROGRESS: recommendations finished on 183000/453024 queries. users per second: 1965.87
PROGRESS: recommendations finished on 184000/453024 queries. users per second: 1966.44
PROGRESS: recommendations finished on 185000/453024 queries. users per second: 1967.24
PROGRESS: recommendations finished on 186000/453024 queries. users per second: 1968.01
PROGRESS: recommendations finished on 187000/453024 queries. users per second: 1968.82
PROGRESS: recommendations finished on 188000/453024 queries. users per second: 1969.62
PROGRESS: recommendations finished on 189000/453024 queries. users per second: 1970.21
PROGRESS: recommendations finished on 190000/453024 queries. users per second: 1970.93
PROGRESS: recommendations finished on 191000/453024 queries. users per second: 1971.81
PROGRESS: recommendations finished on 192000/453024 queries. users per second: 1972.58
PROGRESS: recommendations finished on 193000/453024 queries. users per second: 1973.27
PROGRESS: recommendations finished on 194000/453024 queries. users per second: 1974.08
PROGRESS: recommendations finished on 195000/453024 queries. users per second: 1974.89
PROGRESS: recommendations finished on 196000/453024 queries. users per second: 1975.57
PROGRESS: recommendations finished on 197000/453024 queries. users per second: 1976.22
PROGRESS: recommendations finished on 198000/453024 queries. users per second: 1977.14
PROGRESS: recommendations finished on 199000/453024 queries. users per second: 1977.99
PROGRESS: recommendations finished on 200000/453024 queries. users per second: 1978.79
PROGRESS: recommendations finished on 201000/453024 queries. users per second: 1979.47
PROGRESS: recommendations finished on 202000/453024 queries. users per second: 1980.06
PROGRESS: recommendations finished on 203000/453024 queries. users per second: 1980.75
PROGRESS: recommendations finished on 204000/453024 queries. users per second: 1981.5
PROGRESS: recommendations finished on 205000/453024 queries. users per second: 1982.16
PROGRESS: recommendations finished on 206000/453024 queries. users per second: 1982.91
PROGRESS: recommendations finished on 207000/453024 queries. users per second: 1983.52
PROGRESS: recommendations finished on 208000/453024 queries. users per second: 1984.23
PROGRESS: recommendations finished on 209000/453024 queries. users per second: 1984.94
PROGRESS: recommendations finished on 210000/453024 queries. users per second: 1985.43
PROGRESS: recommendations finished on 211000/453024 queries. users per second: 1986.13
PROGRESS: recommendations finished on 212000/453024 queries. users per second: 1986.96
PROGRESS: recommendations finished on 213000/453024 queries. users per second: 1987.74
PROGRESS: recommendations finished on 214000/453024 queries. users per second: 1988.48
PROGRESS: recommendations finished on 215000/453024 queries. users per second: 1989.06
PROGRESS: recommendations finished on 216000/453024 queries. users per second: 1989.73
PROGRESS: recommendations finished on 217000/453024 queries. users per second: 1990.17
PROGRESS: recommendations finished on 218000/453024 queries. users per second: 1990.76
PROGRESS: recommendations finished on 219000/453024 queries. users per second: 1991.42
PROGRESS: recommendations finished on 220000/453024 queries. users per second: 1992.17
PROGRESS: recommendations finished on 221000/453024 queries. users per second: 1992.82
PROGRESS: recommendations finished on 222000/453024 queries. users per second: 1993.43
PROGRESS: recommendations finished on 223000/453024 queries. users per second: 1994.03
PROGRESS: recommendations finished on 224000/453024 queries. users per second: 1994.3
PROGRESS: recommendations finished on 225000/453024 queries. users per second: 1994.94
PROGRESS: recommendations finished on 226000/453024 queries. users per second: 1995.38
PROGRESS: recommendations finished on 227000/453024 queries. users per second: 1995.9
PROGRESS: recommendations finished on 228000/453024 queries. users per second: 1996.47
PROGRESS: recommendations finished on 229000/453024 queries. users per second: 1996.95
PROGRESS: recommendations finished on 230000/453024 queries. users per second: 1997.45
PROGRESS: recommendations finished on 231000/453024 queries. users per second: 1998.07
PROGRESS: recommendations finished on 232000/453024 queries. users per second: 1998.58
PROGRESS: recommendations finished on 233000/453024 queries. users per second: 1999.19
PROGRESS: recommendations finished on 234000/453024 queries. users per second: 1999.77
PROGRESS: recommendations finished on 235000/453024 queries. users per second: 2000.22
PROGRESS: recommendations finished on 236000/453024 queries. users per second: 2000.8
PROGRESS: recommendations finished on 237000/453024 queries. users per second: 2001.15
PROGRESS: recommendations finished on 238000/453024 queries. users per second: 2001.69
PROGRESS: recommendations finished on 239000/453024 queries. users per second: 2002.27
PROGRESS: recommendations finished on 240000/453024 queries. users per second: 2002.83
PROGRESS: recommendations finished on 241000/453024 queries. users per second: 2003.21
PROGRESS: recommendations finished on 242000/453024 queries. users per second: 2003.78
PROGRESS: recommendations finished on 243000/453024 queries. users per second: 2004.29
PROGRESS: recommendations finished on 244000/453024 queries. users per second: 2004.71
PROGRESS: recommendations finished on 245000/453024 queries. users per second: 2005.13
PROGRESS: recommendations finished on 246000/453024 queries. users per second: 2005.67
PROGRESS: recommendations finished on 247000/453024 queries. users per second: 2006.22
PROGRESS: recommendations finished on 248000/453024 queries. users per second: 2006.66
PROGRESS: recommendations finished on 249000/453024 queries. users per second: 2007.11
PROGRESS: recommendations finished on 250000/453024 queries. users per second: 2007.65
PROGRESS: recommendations finished on 251000/453024 queries. users per second: 2007.73
PROGRESS: recommendations finished on 252000/453024 queries. users per second: 2008.13
PROGRESS: recommendations finished on 253000/453024 queries. users per second: 2008.57
PROGRESS: recommendations finished on 254000/453024 queries. users per second: 2009.07
PROGRESS: recommendations finished on 255000/453024 queries. users per second: 2009.51
PROGRESS: recommendations finished on 256000/453024 queries. users per second: 2010.07
PROGRESS: recommendations finished on 257000/453024 queries. users per second: 2010.55
PROGRESS: recommendations finished on 258000/453024 queries. users per second: 2011
PROGRESS: recommendations finished on 259000/453024 queries. users per second: 2011.4
PROGRESS: recommendations finished on 260000/453024 queries. users per second: 2011.76
PROGRESS: recommendations finished on 261000/453024 queries. users per second: 2012.21
PROGRESS: recommendations finished on 262000/453024 queries. users per second: 2012.61
PROGRESS: recommendations finished on 263000/453024 queries. users per second: 2012.99
PROGRESS: recommendations finished on 264000/453024 queries. users per second: 2013.38
PROGRESS: recommendations finished on 265000/453024 queries. users per second: 2013.76
PROGRESS: recommendations finished on 266000/453024 queries. users per second: 2014.13
PROGRESS: recommendations finished on 267000/453024 queries. users per second: 2014.46
PROGRESS: recommendations finished on 268000/453024 queries. users per second: 2014.91
PROGRESS: recommendations finished on 269000/453024 queries. users per second: 2015.3
PROGRESS: recommendations finished on 270000/453024 queries. users per second: 2015.68
PROGRESS: recommendations finished on 271000/453024 queries. users per second: 2015.99
PROGRESS: recommendations finished on 272000/453024 queries. users per second: 2016.4
PROGRESS: recommendations finished on 273000/453024 queries. users per second: 2016.82
PROGRESS: recommendations finished on 274000/453024 queries. users per second: 2017.19
PROGRESS: recommendations finished on 275000/453024 queries. users per second: 2017.69
PROGRESS: recommendations finished on 276000/453024 queries. users per second: 2018.13
PROGRESS: recommendations finished on 277000/453024 queries. users per second: 2018.41
PROGRESS: recommendations finished on 278000/453024 queries. users per second: 2018.8
PROGRESS: recommendations finished on 279000/453024 queries. users per second: 2019.1
PROGRESS: recommendations finished on 280000/453024 queries. users per second: 2019.33
PROGRESS: recommendations finished on 281000/453024 queries. users per second: 2019.69
PROGRESS: recommendations finished on 282000/453024 queries. users per second: 2020.12
PROGRESS: recommendations finished on 283000/453024 queries. users per second: 2020.35
PROGRESS: recommendations finished on 284000/453024 queries. users per second: 2020.61
PROGRESS: recommendations finished on 285000/453024 queries. users per second: 2021.02
PROGRESS: recommendations finished on 286000/453024 queries. users per second: 2021.4
PROGRESS: recommendations finished on 287000/453024 queries. users per second: 2021.74
PROGRESS: recommendations finished on 288000/453024 queries. users per second: 2022.07
PROGRESS: recommendations finished on 289000/453024 queries. users per second: 2022.28
PROGRESS: recommendations finished on 290000/453024 queries. users per second: 2022.74
PROGRESS: recommendations finished on 291000/453024 queries. users per second: 2023.04
PROGRESS: recommendations finished on 292000/453024 queries. users per second: 2023.4
PROGRESS: recommendations finished on 293000/453024 queries. users per second: 2023.69
PROGRESS: recommendations finished on 294000/453024 queries. users per second: 2024.03
PROGRESS: recommendations finished on 295000/453024 queries. users per second: 2024.46
PROGRESS: recommendations finished on 296000/453024 queries. users per second: 2024.74
PROGRESS: recommendations finished on 297000/453024 queries. users per second: 2025.01
PROGRESS: recommendations finished on 298000/453024 queries. users per second: 2025.23
PROGRESS: recommendations finished on 299000/453024 queries. users per second: 2025.56
PROGRESS: recommendations finished on 300000/453024 queries. users per second: 2025.75
PROGRESS: recommendations finished on 301000/453024 queries. users per second: 2026.11
PROGRESS: recommendations finished on 302000/453024 queries. users per second: 2026.52
PROGRESS: recommendations finished on 303000/453024 queries. users per second: 2026.85
PROGRESS: recommendations finished on 304000/453024 queries. users per second: 2027.13
PROGRESS: recommendations finished on 305000/453024 queries. users per second: 2027.35
PROGRESS: recommendations finished on 306000/453024 queries. users per second: 2027.65
PROGRESS: recommendations finished on 307000/453024 queries. users per second: 2027.99
PROGRESS: recommendations finished on 308000/453024 queries. users per second: 2028.33
PROGRESS: recommendations finished on 309000/453024 queries. users per second: 2028.67
PROGRESS: recommendations finished on 310000/453024 queries. users per second: 2029.02
PROGRESS: recommendations finished on 311000/453024 queries. users per second: 2029.33
PROGRESS: recommendations finished on 312000/453024 queries. users per second: 2029.65
PROGRESS: recommendations finished on 313000/453024 queries. users per second: 2029.79
PROGRESS: recommendations finished on 314000/453024 queries. users per second: 2029.97
PROGRESS: recommendations finished on 315000/453024 queries. users per second: 2030
PROGRESS: recommendations finished on 316000/453024 queries. users per second: 2030.15
PROGRESS: recommendations finished on 317000/453024 queries. users per second: 2030.48
PROGRESS: recommendations finished on 318000/453024 queries. users per second: 2030.57
PROGRESS: recommendations finished on 319000/453024 queries. users per second: 2030.84
PROGRESS: recommendations finished on 320000/453024 queries. users per second: 2031.12
PROGRESS: recommendations finished on 321000/453024 queries. users per second: 2031.45
PROGRESS: recommendations finished on 322000/453024 queries. users per second: 2031.52
PROGRESS: recommendations finished on 323000/453024 queries. users per second: 2031.6
PROGRESS: recommendations finished on 324000/453024 queries. users per second: 2031.84
PROGRESS: recommendations finished on 325000/453024 queries. users per second: 2031.9
PROGRESS: recommendations finished on 326000/453024 queries. users per second: 2032.09
PROGRESS: recommendations finished on 327000/453024 queries. users per second: 2032.28
PROGRESS: recommendations finished on 328000/453024 queries. users per second: 2032.56
PROGRESS: recommendations finished on 329000/453024 queries. users per second: 2032.79
PROGRESS: recommendations finished on 330000/453024 queries. users per second: 2033.1
PROGRESS: recommendations finished on 331000/453024 queries. users per second: 2033.33
PROGRESS: recommendations finished on 332000/453024 queries. users per second: 2033.58
PROGRESS: recommendations finished on 333000/453024 queries. users per second: 2033.8
PROGRESS: recommendations finished on 334000/453024 queries. users per second: 2033.92
PROGRESS: recommendations finished on 335000/453024 queries. users per second: 2034.23
PROGRESS: recommendations finished on 336000/453024 queries. users per second: 2034.56
PROGRESS: recommendations finished on 337000/453024 queries. users per second: 2034.73
PROGRESS: recommendations finished on 338000/453024 queries. users per second: 2034.91
PROGRESS: recommendations finished on 339000/453024 queries. users per second: 2035.09
PROGRESS: recommendations finished on 340000/453024 queries. users per second: 2035.39
PROGRESS: recommendations finished on 341000/453024 queries. users per second: 2035.64
PROGRESS: recommendations finished on 342000/453024 queries. users per second: 2035.82
PROGRESS: recommendations finished on 343000/453024 queries. users per second: 2036.03
PROGRESS: recommendations finished on 344000/453024 queries. users per second: 2036.27
PROGRESS: recommendations finished on 345000/453024 queries. users per second: 2036.48
PROGRESS: recommendations finished on 346000/453024 queries. users per second: 2036.68
PROGRESS: recommendations finished on 347000/453024 queries. users per second: 2036.91
PROGRESS: recommendations finished on 348000/453024 queries. users per second: 2037.2
PROGRESS: recommendations finished on 349000/453024 queries. users per second: 2037.48
PROGRESS: recommendations finished on 350000/453024 queries. users per second: 2037.61
PROGRESS: recommendations finished on 351000/453024 queries. users per second: 2037.87
PROGRESS: recommendations finished on 352000/453024 queries. users per second: 2037.93
PROGRESS: recommendations finished on 353000/453024 queries. users per second: 2038.13
PROGRESS: recommendations finished on 354000/453024 queries. users per second: 2038.36
PROGRESS: recommendations finished on 355000/453024 queries. users per second: 2038.52
PROGRESS: recommendations finished on 356000/453024 queries. users per second: 2038.78
PROGRESS: recommendations finished on 357000/453024 queries. users per second: 2038.82
PROGRESS: recommendations finished on 358000/453024 queries. users per second: 2039.06
PROGRESS: recommendations finished on 359000/453024 queries. users per second: 2039.27
PROGRESS: recommendations finished on 360000/453024 queries. users per second: 2039.47
PROGRESS: recommendations finished on 361000/453024 queries. users per second: 2039.67
PROGRESS: recommendations finished on 362000/453024 queries. users per second: 2039.82
PROGRESS: recommendations finished on 363000/453024 queries. users per second: 2040.01
PROGRESS: recommendations finished on 364000/453024 queries. users per second: 2040.18
PROGRESS: recommendations finished on 365000/453024 queries. users per second: 2040.31
PROGRESS: recommendations finished on 366000/453024 queries. users per second: 2040.44
PROGRESS: recommendations finished on 367000/453024 queries. users per second: 2040.64
PROGRESS: recommendations finished on 368000/453024 queries. users per second: 2040.86
PROGRESS: recommendations finished on 369000/453024 queries. users per second: 2041
PROGRESS: recommendations finished on 370000/453024 queries. users per second: 2041.27
PROGRESS: recommendations finished on 371000/453024 queries. users per second: 2041.36
PROGRESS: recommendations finished on 372000/453024 queries. users per second: 2041.55
PROGRESS: recommendations finished on 373000/453024 queries. users per second: 2041.68
PROGRESS: recommendations finished on 374000/453024 queries. users per second: 2041.87
PROGRESS: recommendations finished on 375000/453024 queries. users per second: 2041.96
PROGRESS: recommendations finished on 376000/453024 queries. users per second: 2042.2
PROGRESS: recommendations finished on 377000/453024 queries. users per second: 2042.35
PROGRESS: recommendations finished on 378000/453024 queries. users per second: 2042.48
PROGRESS: recommendations finished on 379000/453024 queries. users per second: 2042.72
PROGRESS: recommendations finished on 380000/453024 queries. users per second: 2042.86
PROGRESS: recommendations finished on 381000/453024 queries. users per second: 2043.06
PROGRESS: recommendations finished on 382000/453024 queries. users per second: 2043.34
PROGRESS: recommendations finished on 383000/453024 queries. users per second: 2043.41
PROGRESS: recommendations finished on 384000/453024 queries. users per second: 2043.39
PROGRESS: recommendations finished on 385000/453024 queries. users per second: 2043.55
PROGRESS: recommendations finished on 386000/453024 queries. users per second: 2043.82
PROGRESS: recommendations finished on 387000/453024 queries. users per second: 2044.05
PROGRESS: recommendations finished on 388000/453024 queries. users per second: 2044.24
PROGRESS: recommendations finished on 389000/453024 queries. users per second: 2044.41
PROGRESS: recommendations finished on 390000/453024 queries. users per second: 2044.61
PROGRESS: recommendations finished on 391000/453024 queries. users per second: 2044.74
PROGRESS: recommendations finished on 392000/453024 queries. users per second: 2044.94
PROGRESS: recommendations finished on 393000/453024 queries. users per second: 2045.1
PROGRESS: recommendations finished on 394000/453024 queries. users per second: 2045.27
PROGRESS: recommendations finished on 395000/453024 queries. users per second: 2045.52
PROGRESS: recommendations finished on 396000/453024 queries. users per second: 2045.63
PROGRESS: recommendations finished on 397000/453024 queries. users per second: 2045.83
PROGRESS: recommendations finished on 398000/453024 queries. users per second: 2046.01
PROGRESS: recommendations finished on 399000/453024 queries. users per second: 2046.17
PROGRESS: recommendations finished on 400000/453024 queries. users per second: 2046.35
PROGRESS: recommendations finished on 401000/453024 queries. users per second: 2046.48
PROGRESS: recommendations finished on 402000/453024 queries. users per second: 2046.61
PROGRESS: recommendations finished on 403000/453024 queries. users per second: 2046.81
PROGRESS: recommendations finished on 404000/453024 queries. users per second: 2046.95
PROGRESS: recommendations finished on 405000/453024 queries. users per second: 2047.01
PROGRESS: recommendations finished on 406000/453024 queries. users per second: 2047.12
PROGRESS: recommendations finished on 407000/453024 queries. users per second: 2047.3
PROGRESS: recommendations finished on 408000/453024 queries. users per second: 2047.38
PROGRESS: recommendations finished on 409000/453024 queries. users per second: 2047.62
PROGRESS: recommendations finished on 410000/453024 queries. users per second: 2047.76
PROGRESS: recommendations finished on 411000/453024 queries. users per second: 2047.81
PROGRESS: recommendations finished on 412000/453024 queries. users per second: 2048.01
PROGRESS: recommendations finished on 413000/453024 queries. users per second: 2048.07
PROGRESS: recommendations finished on 414000/453024 queries. users per second: 2048.23
PROGRESS: recommendations finished on 415000/453024 queries. users per second: 2048.38
PROGRESS: recommendations finished on 416000/453024 queries. users per second: 2048.44
PROGRESS: recommendations finished on 417000/453024 queries. users per second: 2048.59
PROGRESS: recommendations finished on 418000/453024 queries. users per second: 2048.71
PROGRESS: recommendations finished on 419000/453024 queries. users per second: 2048.77
PROGRESS: recommendations finished on 420000/453024 queries. users per second: 2048.89
PROGRESS: recommendations finished on 421000/453024 queries. users per second: 2049.02
PROGRESS: recommendations finished on 422000/453024 queries. users per second: 2049.02
PROGRESS: recommendations finished on 423000/453024 queries. users per second: 2048.98
PROGRESS: recommendations finished on 424000/453024 queries. users per second: 2049.06
PROGRESS: recommendations finished on 425000/453024 queries. users per second: 2049.07
PROGRESS: recommendations finished on 426000/453024 queries. users per second: 2049.18
PROGRESS: recommendations finished on 427000/453024 queries. users per second: 2049.25
PROGRESS: recommendations finished on 428000/453024 queries. users per second: 2049.32
PROGRESS: recommendations finished on 429000/453024 queries. users per second: 2049.31
PROGRESS: recommendations finished on 430000/453024 queries. users per second: 2049.46
PROGRESS: recommendations finished on 431000/453024 queries. users per second: 2049.56
PROGRESS: recommendations finished on 432000/453024 queries. users per second: 2049.63
PROGRESS: recommendations finished on 433000/453024 queries. users per second: 2049.81
PROGRESS: recommendations finished on 434000/453024 queries. users per second: 2049.93
PROGRESS: recommendations finished on 435000/453024 queries. users per second: 2050.13
PROGRESS: recommendations finished on 436000/453024 queries. users per second: 2050.29
PROGRESS: recommendations finished on 437000/453024 queries. users per second: 2050.37
PROGRESS: recommendations finished on 438000/453024 queries. users per second: 2050.45
PROGRESS: recommendations finished on 439000/453024 queries. users per second: 2050.55
PROGRESS: recommendations finished on 440000/453024 queries. users per second: 2050.3
PROGRESS: recommendations finished on 441000/453024 queries. users per second: 2050.35
PROGRESS: recommendations finished on 442000/453024 queries. users per second: 2050.37
PROGRESS: recommendations finished on 443000/453024 queries. users per second: 2050.71
PROGRESS: recommendations finished on 444000/453024 queries. users per second: 2050.1
PROGRESS: recommendations finished on 445000/453024 queries. users per second: 2049.28
PROGRESS: recommendations finished on 446000/453024 queries. users per second: 2048.45
PROGRESS: recommendations finished on 447000/453024 queries. users per second: 2047.89
PROGRESS: recommendations finished on 448000/453024 queries. users per second: 2047.31
PROGRESS: recommendations finished on 449000/453024 queries. users per second: 2046.48
PROGRESS: recommendations finished on 450000/453024 queries. users per second: 2045.57
PROGRESS: recommendations finished on 451000/453024 queries. users per second: 2045.25
PROGRESS: recommendations finished on 452000/453024 queries. users per second: 2044.18
PROGRESS: recommendations finished on 453000/453024 queries. users per second: 2033.83
Precision and recall summary statistics by cutoff
+--------+-----------------+------------------+
| cutoff |  mean_precision |   mean_recall    |
+--------+-----------------+------------------+
|   5    | 0.0313541887406 | 0.00944680990716 |
|   10   | 0.0272597036802 | 0.0157296344449  |
|   15   | 0.0249383402792 | 0.0210675314864  |
+--------+-----------------+------------------+
[3 rows x 3 columns]


Overall RMSE:  0.888163413734

Per User RMSE (best)
+--------+-------+------------------+
| userid | count |       rmse       |
+--------+-------+------------------+
| 318568 |   1   | 2.4070233037e-05 |
+--------+-------+------------------+
[1 rows x 3 columns]


Per User RMSE (worst)
+--------+-------+---------------+
| userid | count |      rmse     |
+--------+-------+---------------+
| 419474 |   1   | 4.52736785004 |
+--------+-------+---------------+
[1 rows x 3 columns]


Per Item RMSE (best)
+---------+-------+-----------------+
| movieid | count |       rmse      |
+---------+-------+-----------------+
|   915   |   1   | 0.0340154122413 |
+---------+-------+-----------------+
[1 rows x 3 columns]


Per Item RMSE (worst)
+---------+-------+---------------+
| movieid | count |      rmse     |
+---------+-------+---------------+
|   2564  |   10  | 1.91045491865 |
+---------+-------+---------------+
[1 rows x 3 columns]

Out[8]:
{'precision_recall_by_user': Columns:
	userid	int
	cutoff	int
	precision	float
	recall	float
	count	int

Rows: 1359072

Data:
+--------+--------+----------------+-----------------+-------+
| userid | cutoff |   precision    |      recall     | count |
+--------+--------+----------------+-----------------+-------+
|   1    |   5    |      0.8       | 0.0170212765957 |  235  |
|   1    |   10   |      0.5       | 0.0212765957447 |  235  |
|   1    |   15   | 0.466666666667 | 0.0297872340426 |  235  |
|   2    |   5    |      0.0       |       0.0       |   7   |
|   2    |   10   |      0.0       |       0.0       |   7   |
|   2    |   15   |      0.0       |       0.0       |   7   |
|   3    |   5    |      0.0       |       0.0       |   37  |
|   3    |   10   |      0.0       |       0.0       |   37  |
|   3    |   15   |      0.0       |       0.0       |   37  |
|   4    |   5    |      0.0       |       0.0       |   5   |
|  ...   |  ...   |      ...       |       ...       |  ...  |
+--------+--------+----------------+-----------------+-------+
[1359072 rows x 5 columns]
Note: Only the head of the SFrame is printed.
You can use print_rows(num_rows=m, num_columns=n) to print more rows and columns.,
 'precision_recall_overall': Columns:
	cutoff	int
	precision	float
	recall	float

Rows: 3

Data:
+--------+-----------------+------------------+
| cutoff |    precision    |      recall      |
+--------+-----------------+------------------+
|   5    | 0.0313541887406 | 0.00944680990716 |
|   10   | 0.0272597036802 | 0.0157296344449  |
|   15   | 0.0249383402792 | 0.0210675314864  |
+--------+-----------------+------------------+
[3 rows x 3 columns]
,
 'rmse_by_item': Columns:
	movieid	int
	count	int
	rmse	float

Rows: 17761

Data:
+---------+-------+----------------+
| movieid | count |      rmse      |
+---------+-------+----------------+
|   7899  |  1442 | 0.881257028411 |
|   5288  |   21  | 0.929706843965 |
|   5684  |   14  | 0.71641731463  |
|  14515  |   91  | 0.903952079789 |
|  10273  |   92  | 0.795182531985 |
|  11106  |   23  | 0.917332634974 |
|   5531  |  196  | 0.801935640501 |
|   5921  |   14  | 1.51357167965  |
|  14406  |   24  | 0.909400696357 |
|   2871  |   32  | 1.01237323009  |
|   ...   |  ...  |      ...       |
+---------+-------+----------------+
[17761 rows x 3 columns]
Note: Only the head of the SFrame is printed.
You can use print_rows(num_rows=m, num_columns=n) to print more rows and columns.,
 'rmse_by_user': Columns:
	userid	int
	count	int
	rmse	float

Rows: 453024

Data:
+--------+-------+----------------+
| userid | count |      rmse      |
+--------+-------+----------------+
| 211023 |   3   | 0.864035010146 |
| 442699 |   18  | 0.521743281534 |
| 79732  |   11  | 1.21808991455  |
| 333842 |   65  | 0.74295639386  |
|  7899  |   37  | 0.86514529054  |
| 25263  |   2   | 0.585114795906 |
| 453182 |   12  | 0.466558152072 |
| 87629  |   26  | 0.561209620976 |
| 459067 |   34  | 0.700004654829 |
| 43116  |   28  | 1.27584138448  |
|  ...   |  ...  |      ...       |
+--------+-------+----------------+
[453024 rows x 3 columns]
Note: Only the head of the SFrame is printed.
You can use print_rows(num_rows=m, num_columns=n) to print more rows and columns.,
 'rmse_overall': 0.8881634137340938}

In [12]:
opts=m.get_current_options()

In [13]:
opts


Out[13]:
{'additional_iterations_if_unhealthy': 5,
 'binary_target': 0,
 'init_random_sigma': 0.01,
 'item_id': 'movieid',
 'linear_regularization': 1e-10,
 'max_iterations': 4,
 'nmf': 0,
 'num_factors': 512,
 'num_tempering_iterations': 4,
 'random_seed': 0,
 'regularization': 1e-08,
 'regularization_type': 'normal',
 'sgd_convergence_interval': 4,
 'sgd_convergence_threshold': 1e-05,
 'sgd_max_trial_iterations': 5,
 'sgd_sampling_block_size': 131072,
 'sgd_step_adjustment_interval': 4,
 'sgd_step_size': 0.0,
 'sgd_trial_sample_minimum_size': 10000,
 'sgd_trial_sample_proportion': 0.125,
 'side_data_factorization': 1,
 'solver': 'sgd',
 'step_size_decrease_rate': 0.75,
 'target': 'rating',
 'tempering_regularization_start_value': 1e-08,
 'track_exact_loss': 0,
 'user_id': 'userid'}

In [17]:
opts["regularization"]


Out[17]:
1e-05

In [ ]: