run demo.m in matlab. pulseTypeClassifierBuild.m trains and validates the classifier using labeled pulses from Drosophila melanogaster NM91.