Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple non-zeros per row? #19

Open
ShadenSmith opened this issue Dec 20, 2017 · 0 comments
Open

Multiple non-zeros per row? #19

ShadenSmith opened this issue Dec 20, 2017 · 0 comments

Comments

@ShadenSmith
Copy link
Contributor

Is there a use case for generating multiple non-zeros per row of the CSV file? The current framework assumes a simple mapping of rows -> non-zeros (unless a type function returns None, and then the non-zero is skipped).

One case that comes to mind is text parsing, in which we may want to take a CSV field, split it on whitespace, and generate a non-zero for each word (possible stemming, etc. that word via #17).

Another case is in the event of generating a symmetric tensor. Given indices i, j, k, we want to produce non-zeros (i, j, k) and (j, i, k).

But at some point we will need to draw a line between raw data preparation and CSV parsing.

Any thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant