Spam detection filter using KNN algorithm and resampling | Synapse