Spam data machine learning code