A Contextual-bandit-based Approach for Informed Decision-making in Clinical Trials