Neural Networks for Spectral Analysis of Unevenly Sampled Data