amplab / training

Training materials for Strata, AMP Camp, etc
150 stars 121 forks source link

Example cluster centroids use confusing formatting #2

Closed JoshRosen closed 11 years ago

JoshRosen commented 11 years ago

The format of the k-means clustering solutions is difficult to read, especially since it looks like arrays are being formatted as [D@189069d9).

[0.04004400475581517,0.038118787030749966,0.03801015733643086,0.03967369502072206,0.04151351988591238,0.04308393683465291,0.044778057420320046,0.04384191817330043,0.04327253705198659,0.04337169109087168,0.04206913431317084,0.040278518303564805,0.04101954271722155,0.038450206013100216,0.0418555337240833,0.043012543561769416,0.04353482943994479,0.043243093996798466,0.04369268461921003,0.04282953399927644,0.042365251465160035,0.04139263576836268,0.040894906504096745,0.03965328097347838]
(en Dick_Fuld,[D@25a97638)
(en Stargate_SG-1_(season_10),[D@189069d9)
(en Recollection,[D@31153228)
(en John_Taverner,[D@668ff944)
(en Category:Computer_languages,[D@763613f6)
(en Dream_Job,[D@5858b81b)
(en Fictional,[D@289f21ed)
(en Brazilian_films_of_2008,[D@676c6370)
(en Breville,[D@7cf4831b)
(en Intel_P35,[D@18cba1b4)
shivaram commented 11 years ago

Fixed in new write up of kmeans - We only print the page names now.