Data-Driven Joint Resource Allocation in Large-scale Heterogeneous Wireless Networks