Text this: Feature extraction of neural networks applied to magnetic models