Learning to adapt to unknown users