Skip to content

jaejaejae/personalized-pagerank-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

personalized-pagerank-js

A Javascript package for computing personalized pagerank. Build Status Coverage Status

A library that computes personalised pagerank vector via power iteration.

Installation

npm install personalized-pagerank-js

Usage

var ppr = require('personalized-pagerank-js');

var scores = ppr(adjacencyList, personalised, damping, maxIteration, threshold);

Output should be pagerank score of all nodes.

Tests

npm test

TO-do

  • Support edge list input.

  • Support more pagerank algorithms.

Contributing

In lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.