Learning-Based Resource Management in Integrated Sensing and Communication Systems