CNevd / libffm-ftrl

libffm with ftrl updater
BSD 3-Clause "New" or "Revised" License
93 stars 38 forks source link

features IDs #2

Closed AMilkov closed 7 years ago

AMilkov commented 7 years ago

Is there a need the feature IDs to be unique or is it enough the combination of field + feature ID to be unique?

For example If we assume that field 1 is movie and field 2 is user and user A has ID 123 and movie B has ID 123
is this a valid row:

1:123:1 2:123:1
CNevd commented 7 years ago

@AMilkov the feature IDs are unique, so movie B's ID should not be 123

AMilkov commented 7 years ago

Thank you @CNevd !