It's presumably some sort of machine learning to distinguish gunshots from firecrackers, backfires and other kinds of impulsive sounds one would find in a city. It just does not appear to work well.
Cincy PD disables alerts for ShotSpotter on the 4th of July and disables it during baseball/football games downtown because the pyro from the games causes false alarms.