linkedin / linkedin/Avro2TF

java.util.NoSuchElementException: No value found for 'sparseVector'

Open
#70 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Scala
Stars
128
Forks
21
PR merge metrics
No merged PRs in 30d

Description

The README talks about setting the dtype to 'sparseVector', which is an older form of this library. You'd get the error above about "No value found for 'sparseVector'".

The documentation should talk more about how the fields "isSparse": true | false , "dtype": "float", and "isDocumentFeature": true | false are used together to produce the indices and values output and how the naming works. This will allow people to know how to use the library from the documentation without having to go into the tutorial.

In the README, it uses 'words_wideFeatures_sparse', but doesn't give any details.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the README section using 'sparseVector' and compare it with the tutorial, which the issue identifies as the more complete source. Document how isSparse, dtype, and isDocumentFeature combine to produce indices and values, explain the words_wideFeatures_sparse naming, and remove the obsolete usage so the README no longer leads to the exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, scala
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.