#4 Project progress: Building a basic machine learning successfully

In this journal, we will continue to build our first basic machine learning after importing and cleaning data. Besides pandas module, sklearn.feature_extraction.text and sklearn.metrics.pairwise are two more modules that we will use to import TfidfVectorizer and linear_kernel methods. TfidfVectorizer comes from sklearn module, that uses to convert string (words) to matrix (vector) shape. Linear_kernel also comes from sklearn module, that uses to generate the linear similarity between two vectors. Cosine_similarity method can do the same work as linear_kernel, but we use linear_kernel because computer compiles data faster. The third new method that we use in this project is pandas Series. We use this method to assign index for a dataframe, you can take a look at line 31. Line 36 displays the code for creating a system. We use enumerate method for enumerate similarity and title, we put list() method in front of it because we want to create it as a list. Then we use sorted meth...