Analyzing Synaptic Density With A Machine-learning Algorithm