gensim.similarities.MatrixSimilarity.__init__

MatrixSimilarity.__init__(corpus, num_best=None, dtype=<type 'numpy.float32'>, num_features=None, chunksize=256, corpus_len=None)[source]

num_features is the number of features in the corpus (will be determined automatically by scanning the corpus if not specified). See Similarity class for description of the other parameters.