Comments (1)
If I understand what lexRank
is doing, then I would say that the test here is flawed. The result is ordered by these values: c(0.48649, 0.25676, 0.25676)
. Notice that the last two are essentially the same. Thus both 2, 1, 3
and 2, 3, 1
are valid results. Which one is actually returned by the function is down to tiny numerical roundoff errors, which may be platform-specific.
The test should either be changed so that there is only one valid result, or if that's not possible, both of these two rankings should be accepted.
from lexrankr.
Related Issues (14)
- proxyDB error: IDFcosine already in registry HOT 1
- no sentences above threshold needs verbose error HOT 3
- rm dplyr HOT 3
- Purr HOT 10
- add helper for multiple doc lexranking (within doc)
- eval data.table
- Error in sentenceSimil HOT 4
- create doc id arg for unnest sentence function HOT 1
- `smart_stopwords` object not available unless package loaded with `library`
- `damping` arg ignored in `lexRankFromSimil` HOT 5
- Vector memory exhausted on plain text processing HOT 2
- Not able to get single top sentence HOT 1
- throw more informative error if only 1 document passed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lexrankr.