1 min readJan 9, 2019
Assuming by ‘works’ you mean ‘how the model learns better’. You are imputing mean of found-rate for that store ID into the categorical store ID feature. This essentially converts it into a numeric feature telling ‘what’s the found rate in that item’s store’. And the store’s found rate is a good indicator of found-rate of its items (obviously because the store is made up of these items).