A deep learning approach to efficiently allocate spectrum to secondary users in shared spectrum systems, without requiring detailed knowledge of primary user parameters.