Text this: Sparkplug failure detection using Z-freq and machine learning