Computational Thinking, Linear Algebra, Python, Jupyter Notebook, Math.
elements in Compressed Sparse Row format> names = {i: name for name, i in index_map.items()} mem_usage() 12.903882752 Save matrix so we don’t have to recompute pickle.dump(X, open(PATH+'X.pkl', 'wb')) pickle.dump(index_map, open(PATH+'index_map.pkl', 'wb')) X = pickle.load(open(PATH+'X.pkl', 'rb'))