Git Product home page Git Product logo

pagerank's Introduction

PageRank

Author: Brenden Morton

Course: Network Optimization

Professor: Dr. Wei Zhang

This is an implementation of the PageRank algorithm to find the highest rated page among a number of N pages. In this implementation, the algorithm continues

to run until it converges upon some specifed value ε.

To run this program on the command line, do the following:

1. Navigate to the directory where the FleuryPrimSolver.jar file is located using 'cd' commands

2. Run the following command:

java -jar PageRank.jar [filename of graph] [number of vertices in graph]

The input file should be a square adjancency matrix of integers separated by commas. A '0' represents no edge between two nodes.

Additionally, the leftmost character of each row should be an integer representing the row. After, this character should be a '\t' tab character.

Below is a simple example of what the input file should look like:

0 0, 3, 0, 6

1 5, 9, 0, 0

2 0, 8, 0, 0

3 8, 1, 3, 0

The program outputs the nodes in order of highest PageRank to lowest PageRank to a file called "output.txt"

The format of the output file is:

number of iterations: 20

ranking: 36 (0.0108), 87 (0.0102), 12 (0.00854), ..., 56 (0.00278).

Thank you for using this program!!

Brenden Morton

pagerank's People

Contributors

brend3n avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.