time_decay_weights = np.array([0.1 if historical_click else 10.0 for click in user_history])