sagemaker-python-sdk icon indicating copy to clipboard operation
sagemaker-python-sdk copied to clipboard

Sparse matrix to recordIO?

Open meownoid opened this issue 8 years ago • 6 comments

How can I write sparse matrix to binary format (for use in the factorization machines algorithm)? I found only the write_numpy_to_dense_tensor function.

meownoid avatar Dec 20 '17 14:12 meownoid

Hi Egor,

Yes, this is a great feature and something I've been thinking about. We're thinking of supporting types in scipy.sparse (e.g. csr, bsr). Would this work for you?

Thanks,

Owen.

owen-t avatar Dec 20 '17 18:12 owen-t

Yes, sure, it would be great to have the support of scipy.sparse.

meownoid avatar Dec 20 '17 21:12 meownoid

Implemented this in #28, have a look please.

meownoid avatar Dec 21 '17 15:12 meownoid

This has been merged, closing the issue.

owen-t avatar Jan 02 '18 23:01 owen-t

Reopening - this has been merged, but has not been released to SageMaker Notebook Instances and pypi yet. Will start working on the releases later this week.

winstonaws avatar Jan 03 '18 01:01 winstonaws

closing issue as it's now been released as part of version 1.0.2

laurenyu avatar Feb 27 '18 23:02 laurenyu