scipy.sparse
dok_matrix.
fromkeys
Create a new dictionary with keys from iterable and values set to value.
scipy.sparse.dok_matrix.dot
scipy.sparse.dok_matrix.get