[jira] [Commented] (ARROW-6671) [C++] Sparse tensor naming
[ https://issues.apache.org/jira/browse/ARROW-6671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16942394#comment-16942394 ] Kenta Murata commented on ARROW-6671: - There are three tickets about adding new sparse tensor index types: * ARROW-4225: Add CSC sparse matrix support * ARROW-4226: Add CSF sparse tensor support * ARROW-6485: Support the format of a COO sparse matrix that has separated row and column indices In ARROW-6485, we will introduce another COO sparse index that manages indices in two vectors, the same format as scipy.sparse.coo_matrix, rather than a single matrix, that is the current SparseCOOTensor's format. If we can use both "matrix" and "tensor" for sparse index type names, we will have the following sparse index types after the above tickets are closed: * SparseCOOTensor * SparseCSFTensor * SparseCOOMatrix * SparseCSRMatrix * SparseCSCMatrix By looking at the type names, we can recognize what types can represent tensors with more than 2 dimensions. > [C++] Sparse tensor naming > -- > > Key: ARROW-6671 > URL: https://issues.apache.org/jira/browse/ARROW-6671 > Project: Apache Arrow > Issue Type: Wish > Components: C++ >Reporter: Antoine Pitrou >Assignee: Kenta Murata >Priority: Minor > > Currently there's {{SparseCOOIndex}} and {{SparseCSRIndex}}, but also > {{SparseTensorCOO}} and {{SparseTensorCSR}}. > For consistency, it would be nice to rename the latter {{SparseCOOTensor}} > and {{SparseCSRTensor}}. > Also, it's not obvious the {{SparseMatrixCSR}} alias is useful. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (ARROW-6671) [C++] Sparse tensor naming
[ https://issues.apache.org/jira/browse/ARROW-6671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16936786#comment-16936786 ] Wes McKinney commented on ARROW-6671: - I am OK with having the type be called "matrix". Good to make things as clear and consistent as possible > [C++] Sparse tensor naming > -- > > Key: ARROW-6671 > URL: https://issues.apache.org/jira/browse/ARROW-6671 > Project: Apache Arrow > Issue Type: Wish > Components: C++ >Reporter: Antoine Pitrou >Assignee: Kenta Murata >Priority: Minor > > Currently there's {{SparseCOOIndex}} and {{SparseCSRIndex}}, but also > {{SparseTensorCOO}} and {{SparseTensorCSR}}. > For consistency, it would be nice to rename the latter {{SparseCOOTensor}} > and {{SparseCSRTensor}}. > Also, it's not obvious the {{SparseMatrixCSR}} alias is useful. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (ARROW-6671) [C++] Sparse tensor naming
[ https://issues.apache.org/jira/browse/ARROW-6671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16936779#comment-16936779 ] Rok Mihevc commented on ARROW-6671: --- SparseCSRMatrix might be more misleading as it 'doesn't look look like' a Tensor type. I think that is potentially more confusing than it being limited to 2D. +1 for the consistent naming > [C++] Sparse tensor naming > -- > > Key: ARROW-6671 > URL: https://issues.apache.org/jira/browse/ARROW-6671 > Project: Apache Arrow > Issue Type: Wish > Components: C++ >Reporter: Antoine Pitrou >Assignee: Kenta Murata >Priority: Minor > > Currently there's {{SparseCOOIndex}} and {{SparseCSRIndex}}, but also > {{SparseTensorCOO}} and {{SparseTensorCSR}}. > For consistency, it would be nice to rename the latter {{SparseCOOTensor}} > and {{SparseCSRTensor}}. > Also, it's not obvious the {{SparseMatrixCSR}} alias is useful. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (ARROW-6671) [C++] Sparse tensor naming
[ https://issues.apache.org/jira/browse/ARROW-6671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16936727#comment-16936727 ] Antoine Pitrou commented on ARROW-6671: --- I don't know. We don't use the term "matrix" currently in Arrow. cc [~wesm] > [C++] Sparse tensor naming > -- > > Key: ARROW-6671 > URL: https://issues.apache.org/jira/browse/ARROW-6671 > Project: Apache Arrow > Issue Type: Wish > Components: C++ >Reporter: Antoine Pitrou >Assignee: Kenta Murata >Priority: Minor > > Currently there's {{SparseCOOIndex}} and {{SparseCSRIndex}}, but also > {{SparseTensorCOO}} and {{SparseTensorCSR}}. > For consistency, it would be nice to rename the latter {{SparseCOOTensor}} > and {{SparseCSRTensor}}. > Also, it's not obvious the {{SparseMatrixCSR}} alias is useful. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (ARROW-6671) [C++] Sparse tensor naming
[ https://issues.apache.org/jira/browse/ARROW-6671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16936728#comment-16936728 ] Antoine Pitrou commented on ARROW-6671: --- I don't know. We don't use the term "matrix" currently in Arrow. cc [~wesm] > [C++] Sparse tensor naming > -- > > Key: ARROW-6671 > URL: https://issues.apache.org/jira/browse/ARROW-6671 > Project: Apache Arrow > Issue Type: Wish > Components: C++ >Reporter: Antoine Pitrou >Assignee: Kenta Murata >Priority: Minor > > Currently there's {{SparseCOOIndex}} and {{SparseCSRIndex}}, but also > {{SparseTensorCOO}} and {{SparseTensorCSR}}. > For consistency, it would be nice to rename the latter {{SparseCOOTensor}} > and {{SparseCSRTensor}}. > Also, it's not obvious the {{SparseMatrixCSR}} alias is useful. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (ARROW-6671) [C++] Sparse tensor naming
[ https://issues.apache.org/jira/browse/ARROW-6671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16936724#comment-16936724 ] Kenta Murata commented on ARROW-6671: - Indeed. I want to make their name consistent, so I’ll make a pull request tomorrow. [~apitrou] How about employ SparseCSRMatrix rather than SparseCSRTensor because it cannot represent a tensor with more than 2-dimension. > [C++] Sparse tensor naming > -- > > Key: ARROW-6671 > URL: https://issues.apache.org/jira/browse/ARROW-6671 > Project: Apache Arrow > Issue Type: Wish > Components: C++ >Reporter: Antoine Pitrou >Assignee: Kenta Murata >Priority: Minor > > Currently there's {{SparseCOOIndex}} and {{SparseCSRIndex}}, but also > {{SparseTensorCOO}} and {{SparseTensorCSR}}. > For consistency, it would be nice to rename the latter {{SparseCOOTensor}} > and {{SparseCSRTensor}}. > Also, it's not obvious the {{SparseMatrixCSR}} alias is useful. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (ARROW-6671) [C++] Sparse tensor naming
[ https://issues.apache.org/jira/browse/ARROW-6671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16936696#comment-16936696 ] Antoine Pitrou commented on ARROW-6671: --- cc [~mrkn] > [C++] Sparse tensor naming > -- > > Key: ARROW-6671 > URL: https://issues.apache.org/jira/browse/ARROW-6671 > Project: Apache Arrow > Issue Type: Wish > Components: C++ >Reporter: Antoine Pitrou >Priority: Minor > > Currently there's {{SparseCOOIndex}} and {{SparseCSRIndex}}, but also > {{SparseTensorCOO}} and {{SparseTensorCSR}}. > For consistency, it would be nice to rename the latter {{SparseCOOTensor}} > and {{SparseCSRTensor}}. > Also, it's not obvious the {{SparseMatrixCSR}} alias is useful. -- This message was sent by Atlassian Jira (v8.3.4#803005)