Examples how to get started with ML using scikit-learn spam-or-not classification using TF-IDF Feature Extraction and NaiveBayes model. How to pass 2D Data into TF-IDF Vectorization.