alixaxel / Pagerank
Licence: mit
Weighted PageRank implementation in Go
Stars: ✭ 68
Labels
Projects that are alternatives of or similar to Pagerank
Reinforcement Learning
Implementation of Reinforcement Learning algorithms in Python, based on Sutton's & Barto's Book (Ed. 2)
Stars: ✭ 55 (-19.12%)
Mutual labels: algorithms
Research On Collaborative Filtering Algorithms
Research on Collaborative Filtering Algorithms
Stars: ✭ 66 (-2.94%)
Mutual labels: algorithms
Dart Algorithms
Data structures and algorithms with Dart. Dart版本的数据结构与算法.
Stars: ✭ 53 (-22.06%)
Mutual labels: algorithms
Complete Placement Preparation
This repository consists of all the material required for cracking the coding rounds and technical interviews during placements.
Stars: ✭ 1,114 (+1538.24%)
Mutual labels: algorithms
Leetcode Python
Leetcode Python Solution and Explanation. Also a Guide to Prepare for Software Engineer Interview.
Stars: ✭ 1,088 (+1500%)
Mutual labels: algorithms
Data Structures C
A collection of algorithms for data structure manipulation in C
Stars: ✭ 59 (-13.24%)
Mutual labels: algorithms
Leetcode
This repository contains the solutions and explanations to the algorithm problems on LeetCode. Only medium or above are included. All are written in C++/Python and implemented by myself. The problems attempted multiple times are labelled with hyperlinks.
Stars: ✭ 1,130 (+1561.76%)
Mutual labels: algorithms
Javascript
Implementation of All ▲lgorithms in Javascript Programming Language
Stars: ✭ 56 (-17.65%)
Mutual labels: algorithms
Algorithms
University course material for Algorithms and Data Structures in Java, with a particular emphasis on software testing. Includes exercises, with solutions.
Stars: ✭ 66 (-2.94%)
Mutual labels: algorithms
C Algorithms
Collection of BSD/MIT-licensed algorithms implementations in pure C
Stars: ✭ 54 (-20.59%)
Mutual labels: algorithms
Datastructures
🚀 Implementation of core data structures for R
Stars: ✭ 64 (-5.88%)
Mutual labels: algorithms
Awesome Decision Making Reinforcement Learning
A selection of state-of-the-art research materials on decision making and motion planning.
Stars: ✭ 68 (+0%)
Mutual labels: algorithms
Ctci 6th Edition
Cracking the Coding Interview 6th Ed. Solutions
Stars: ✭ 9,328 (+13617.65%)
Mutual labels: algorithms
On Policy
This is the official implementation of Multi-Agent PPO.
Stars: ✭ 63 (-7.35%)
Mutual labels: algorithms
pagerank
Weighted PageRank implementation in Go
Usage
package main
import (
"fmt"
"github.com/alixaxel/pagerank"
)
func main() {
graph := pagerank.NewGraph()
graph.Link(1, 2, 1.0)
graph.Link(1, 3, 2.0)
graph.Link(2, 3, 3.0)
graph.Link(2, 4, 4.0)
graph.Link(3, 1, 5.0)
graph.Rank(0.85, 0.000001, func(node uint32, rank float64) {
fmt.Println("Node", node, "has a rank of", rank)
})
}
Output
Node 1 has a rank of 0.34983779905464363
Node 2 has a rank of 0.1688733284604475
Node 3 has a rank of 0.3295121849483849
Node 4 has a rank of 0.15177668753652385
Install
go get github.com/alixaxel/pagerank
License
MIT
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].