Novel application of neural networks in model recognition for cosmic microwave background data analysis