Semi-Supervised Learning Approach for Efficient Resource Allocation with Network Slicing in O-RAN