You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Grant Ingersoll (JIRA)" <ji...@apache.org> on 2009/06/11 04:33:07 UTC
[jira] Created: (MAHOUT-131) Vector improvements
Vector improvements
-------------------
Key: MAHOUT-131
URL: https://issues.apache.org/jira/browse/MAHOUT-131
Project: Mahout
Issue Type: Improvement
Reporter: Grant Ingersoll
Assignee: Grant Ingersoll
Priority: Minor
Fix For: 0.2
Vector and it's implementations could use a few things:
1. DenseVector should implement equals and hashCode similar to SparseVector
2. The VectorView asFormatString() is not compatible with actually recreating any type of vector.
3. Add tests to VectorTest that assert that decodeFormat/asFormatString is able to do a round trip.
4. Add static AbstractVector.equivalent(Vector, Vector) that takes in two vectors and compares them for equality, regardless of their implementation.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (MAHOUT-131) Vector improvements
Posted by "Grant Ingersoll (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAHOUT-131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Grant Ingersoll updated MAHOUT-131:
-----------------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
> Vector improvements
> -------------------
>
> Key: MAHOUT-131
> URL: https://issues.apache.org/jira/browse/MAHOUT-131
> Project: Mahout
> Issue Type: Improvement
> Reporter: Grant Ingersoll
> Assignee: Grant Ingersoll
> Priority: Minor
> Fix For: 0.2
>
> Attachments: MAHOUT-131.patch, MAHOUT-131.patch
>
>
> Vector and it's implementations could use a few things:
> 1. DenseVector should implement equals and hashCode similar to SparseVector
> 2. The VectorView asFormatString() is not compatible with actually recreating any type of vector.
> 3. Add tests to VectorTest that assert that decodeFormat/asFormatString is able to do a round trip.
> 4. Add static AbstractVector.equivalent(Vector, Vector) that takes in two vectors and compares them for equality, regardless of their implementation.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (MAHOUT-131) Vector improvements
Posted by "Grant Ingersoll (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAHOUT-131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Grant Ingersoll updated MAHOUT-131:
-----------------------------------
Attachment: MAHOUT-131.patch
Updated patch implements equals/hashcode for all the Vectors and puts in various tests related to these issues. It should be the case now that Vector.equals() acts just like List.equals(), namely that two vectors containing the same elements are equivalent regardless of the implementation.
> Vector improvements
> -------------------
>
> Key: MAHOUT-131
> URL: https://issues.apache.org/jira/browse/MAHOUT-131
> Project: Mahout
> Issue Type: Improvement
> Reporter: Grant Ingersoll
> Assignee: Grant Ingersoll
> Priority: Minor
> Fix For: 0.2
>
> Attachments: MAHOUT-131.patch, MAHOUT-131.patch
>
>
> Vector and it's implementations could use a few things:
> 1. DenseVector should implement equals and hashCode similar to SparseVector
> 2. The VectorView asFormatString() is not compatible with actually recreating any type of vector.
> 3. Add tests to VectorTest that assert that decodeFormat/asFormatString is able to do a round trip.
> 4. Add static AbstractVector.equivalent(Vector, Vector) that takes in two vectors and compares them for equality, regardless of their implementation.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (MAHOUT-131) Vector improvements
Posted by "Grant Ingersoll (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAHOUT-131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Grant Ingersoll updated MAHOUT-131:
-----------------------------------
Attachment: MAHOUT-131.patch
Some minor changes to Vector, etc.
> Vector improvements
> -------------------
>
> Key: MAHOUT-131
> URL: https://issues.apache.org/jira/browse/MAHOUT-131
> Project: Mahout
> Issue Type: Improvement
> Reporter: Grant Ingersoll
> Assignee: Grant Ingersoll
> Priority: Minor
> Fix For: 0.2
>
> Attachments: MAHOUT-131.patch
>
>
> Vector and it's implementations could use a few things:
> 1. DenseVector should implement equals and hashCode similar to SparseVector
> 2. The VectorView asFormatString() is not compatible with actually recreating any type of vector.
> 3. Add tests to VectorTest that assert that decodeFormat/asFormatString is able to do a round trip.
> 4. Add static AbstractVector.equivalent(Vector, Vector) that takes in two vectors and compares them for equality, regardless of their implementation.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (MAHOUT-131) Vector improvements
Posted by "Grant Ingersoll (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAHOUT-131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Grant Ingersoll updated MAHOUT-131:
-----------------------------------
Status: Patch Available (was: Open)
> Vector improvements
> -------------------
>
> Key: MAHOUT-131
> URL: https://issues.apache.org/jira/browse/MAHOUT-131
> Project: Mahout
> Issue Type: Improvement
> Reporter: Grant Ingersoll
> Assignee: Grant Ingersoll
> Priority: Minor
> Fix For: 0.2
>
>
> Vector and it's implementations could use a few things:
> 1. DenseVector should implement equals and hashCode similar to SparseVector
> 2. The VectorView asFormatString() is not compatible with actually recreating any type of vector.
> 3. Add tests to VectorTest that assert that decodeFormat/asFormatString is able to do a round trip.
> 4. Add static AbstractVector.equivalent(Vector, Vector) that takes in two vectors and compares them for equality, regardless of their implementation.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.