amazon-dsstne
amazon-dsstne copied to clipboard
Predict with k=30 result on all item with score=0.000
I followed the movielens sample with the exact same config.json file.
When I make a predict with k=10 or k=20, no problem but when I make a predict with the same command and k=30, all the scores are at 0.000 :
predict -b 256 -d gl -i features_input -o features_output -k 30 -n gl.nc -f ml-20m_ratings -s recs -r ml-20m_ratings
The recs file's head :
1 95979,0.000:130522,0.000:126815,0.000:125902,0.000:101636,0.000:129905,0.000:88371,0.000:113432,0.000:121019,0.000:126573,0.000:114569,0.000:86263,0.000:118856,0.000:127445,0.000:109798,0.000:121699,0.000:101632,0.000:94949,0.000:81574,0.000:120833,0.000:129313,0.000:93967,0.000:95977,0.000:113466,0.000:94431,0.000:65909,0.000:112864,0.000:87098,0.000:93707,0.000:127294,0.000: 2 101632,0.000:94933,0.000:88371,0.000:126815,0.000:120839,0.000:118856,0.000:101634,0.000:129784,0.000:122284,0.000:106401,0.000:117442,0.000:111343,0.000:109726,0.000:113432,0.000:126573,0.000:112864,0.000:95979,0.000:110533,0.000:109798,0.000:81758,0.000:106170,0.000:113816,0.000:125902,0.000:86023,0.000:85744,0.000:119314,0.000:86263,0.000:117859,0.000:129905,0.000:91745,0.000: 3 112864,0.000:86263,0.000:116519,0.000:108808,0.000:120833,0.000:113816,0.000:101632,0.000:108536,0.000:109726,0.000:112015,0.000:101820,0.000:95979,0.000:91745,0.000:81758,0.000:109229,0.000:126815,0.000:130522,0.000:118856,0.000:110167,0.000:129784,0.000:119314,0.000:106170,0.000:122284,0.000:124807,0.000:111345,0.000:93707,0.000:111944,0.000:127445,0.000:109798,0.000: 4 129784,0.000:95578,0.000:113539,0.000:101188,0.000:101636,0.000:113816,0.000:131237,0.000:101634,0.000:109235,0.000:81758,0.000:94657,0.000:120833,0.000:131262,0.000:107147,0.000:87644,0.000:117156,0.000:120839,0.000:105899,0.000:110167,0.000:108127,0.000:49063,0.000:117442,0.000:99171,0.000:94933,0.000:115598,0.000:122495,0.000:122284,0.000:130622,0.000:109726,0.000:109943,0.000: 5 105899,0.000:49063,0.000:101634,0.000:65909,0.000:129784,0.000:109715,0.000:117442,0.000:101636,0.000:101632,0.000:120833,0.000:79244,0.000:101188,0.000:116519,0.000:131237,0.000:125656,0.000:99171,0.000:108127,0.000:122284,0.000:113539,0.000:110167,0.000:107147,0.000:95578,0.000:81574,0.000:106170,0.000:71300,0.000:95517,0.000:65621,0.000:113816,0.000:93707,0.000:
Why ? It's a bug ?
Usually this means that K has gone past its supported values. rgeorgej was looking into expanding this range, but I thought 20 was already within the current limit. Assigning it to him for more insights