A scientifically-minded bandit