Validation of a Convolutional Neural Network Model for Spike Transformation Using a Generalized Linear Model