Neural network aided glitch-burst discrimination and glitch classification