i'm trying to classify text documents as a part of a school project, i'm using the Reuters-21578 Text Categorization Collection Data Set, after obtaining the X data matrix (n_documents , n_features), where each cell represents the weight of a particular word in a particular document, Now what i want to do is computing the gram matrix in order to apply symmetric_NMF on it later, any idea how to do it, same question for the kernel_RBF, is it applicable in this situation ?
↧