Closed ayush488 closed 2 years ago
If you provide a minimal example (code and data) to reproduce this error we can have a closer look.
My only guess here would be to make sure that you have enough observations for each arm/item. For LinUCB variance is undefined if you were to have only one observation for a given arm/item for example.
Got..it.. so that would be the problem.. My data does not have " enough observations for each arm/item"
Regards, Ayush
On Mon, Jul 18, 2022 at 7:49 AM Bernard Kleynhans @.***> wrote:
If you provide a minimal example (code and data) to reproduce this error we can have a closer look.
My only guess here would be to make sure that you have enough observations for each arm/item. For LinUCB variance is undefined if you were to have only one observation for a given arm/item for example.
— Reply to this email directly, view it on GitHub https://github.com/fidelity/mab2rec/issues/17#issuecomment-1187332085, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDPIEU4CAJO32J36AEEOQTVUVHEVANCNFSM53WS74XA . You are receiving this because you authored the thread.Message ID: @.***>
What could be the reason that LinUCB is returning NaN in the predicted rewards? LinGreedy is working fine with the same data.